korganizer Library API Documentation

kofilterview_base.cpp

00001 #include <kdialog.h> 00002 #include <klocale.h> 00003 /**************************************************************************** 00004 ** Form implementation generated from reading ui file './kofilterview_base.ui' 00005 ** 00006 ** Created: Fri Oct 1 15:12:30 2004 00007 ** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.3 edited Nov 24 2003 $) 00008 ** 00009 ** WARNING! All changes made in this file will be lost! 00010 ****************************************************************************/ 00011 00012 #include "kofilterview_base.h" 00013 00014 #include <qvariant.h> 00015 #include <qpushbutton.h> 00016 #include <qframe.h> 00017 #include <qcheckbox.h> 00018 #include <qcombobox.h> 00019 #include <qlayout.h> 00020 #include <qtooltip.h> 00021 #include <qwhatsthis.h> 00022 00023 /* 00024 * Constructs a KOFilterView_base as a child of 'parent', with the 00025 * name 'name' and widget flags set to 'f'. 00026 */ 00027 KOFilterView_base::KOFilterView_base( QWidget* parent, const char* name, WFlags fl ) 00028 : QWidget( parent, name, fl ) 00029 { 00030 if ( !name ) 00031 setName( "KOFilterView_base" ); 00032 KOFilterView_baseLayout = new QVBoxLayout( this, 2, 2, "KOFilterView_baseLayout"); 00033 00034 Frame11 = new QFrame( this, "Frame11" ); 00035 Frame11->setFrameShadow( QFrame::Raised ); 00036 Frame11->setFrameShape( QFrame::StyledPanel ); 00037 Frame11Layout = new QVBoxLayout( Frame11, 11, 6, "Frame11Layout"); 00038 00039 mEnabledCheck = new QCheckBox( Frame11, "mEnabledCheck" ); 00040 Frame11Layout->addWidget( mEnabledCheck ); 00041 00042 mSelectionCombo = new QComboBox( FALSE, Frame11, "mSelectionCombo" ); 00043 Frame11Layout->addWidget( mSelectionCombo ); 00044 KOFilterView_baseLayout->addWidget( Frame11 ); 00045 00046 mEditButton = new QPushButton( this, "mEditButton" ); 00047 KOFilterView_baseLayout->addWidget( mEditButton ); 00048 languageChange(); 00049 resize( QSize(166, 122).expandedTo(minimumSizeHint()) ); 00050 clearWState( WState_Polished ); 00051 } 00052 00053 /* 00054 * Destroys the object and frees any allocated resources 00055 */ 00056 KOFilterView_base::~KOFilterView_base() 00057 { 00058 // no need to delete child widgets, Qt does it all for us 00059 } 00060 00061 /* 00062 * Sets the strings of the subwidgets using the current 00063 * language. 00064 */ 00065 void KOFilterView_base::languageChange() 00066 { 00067 mEnabledCheck->setText( tr2i18n( "Filter enabled" ) ); 00068 mEditButton->setText( tr2i18n( "Edit Filters..." ) ); 00069 } 00070 00071 #include "kofilterview_base.moc"
KDE Logo
This file is part of the documentation for korganizer Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Oct 1 15:19:31 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003