#include #include /**************************************************************************** ** Form implementation generated from reading ui file './manageindicesform.ui' ** ** Created: Sa Mai 10 13:52:34 2008 ** ** WARNING! All changes made in this file will be lost! ****************************************************************************/ #include "manageindicesform.h" #include #include #include #include #include #include #include #include #include /* * Constructs a ManageIndicesForm as a child of 'parent', with the * name 'name' and widget flags set to 'f'. */ ManageIndicesForm::ManageIndicesForm( TQWidget* parent, const char* name, WFlags fl ) : TQWidget( parent, name, fl ) { if ( !name ) setName( "ManageIndicesForm" ); ManageIndicesFormLayout = new TQVBoxLayout( this, 0, 8, "ManageIndicesFormLayout"); m_labelFrame = new TQFrame( this, "m_labelFrame" ); m_labelFrame->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, m_labelFrame->sizePolicy().hasHeightForWidth() ) ); m_labelFrame->setFrameShape( TQFrame::NoFrame ); m_labelFrame->setFrameShadow( TQFrame::Plain ); ManageIndicesFormLayout->addWidget( m_labelFrame ); m_autoDeleteOrphanedIndicesBox = new TQCheckBox( this, "m_autoDeleteOrphanedIndicesBox" ); ManageIndicesFormLayout->addWidget( m_autoDeleteOrphanedIndicesBox ); m_moduleList = new TDEListView( this, "m_moduleList" ); ManageIndicesFormLayout->addWidget( m_moduleList ); layout1 = new TQHBoxLayout( 0, 0, 6, "layout1"); spacer1 = new TQSpacerItem( 40, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); layout1->addItem( spacer1 ); m_createIndicesButton = new TQPushButton( this, "m_createIndicesButton" ); layout1->addWidget( m_createIndicesButton ); m_deleteIndicesButton = new TQPushButton( this, "m_deleteIndicesButton" ); layout1->addWidget( m_deleteIndicesButton ); ManageIndicesFormLayout->addLayout( layout1 ); languageChange(); resize( TQSize(415, 404).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); } /* * Destroys the object and frees any allocated resources */ ManageIndicesForm::~ManageIndicesForm() { // no need to delete child widgets, TQt does it all for us } /* * Sets the strings of the subwidgets using the current * language. */ void ManageIndicesForm::languageChange() { setCaption( tr2i18n( "Manage Indicies" ) ); m_autoDeleteOrphanedIndicesBox->setText( tr2i18n( "Automaticall&y delete orphaned indices when BibleTime starts" ) ); m_createIndicesButton->setText( tr2i18n( "&Create selected indices" ) ); m_deleteIndicesButton->setText( tr2i18n( "De&lete selected indices" ) ); } #include "manageindicesform.moc"