diff options
Diffstat (limited to 'bibletime/frontend/manageindicesform.cpp')
-rw-r--r-- | bibletime/frontend/manageindicesform.cpp | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/bibletime/frontend/manageindicesform.cpp b/bibletime/frontend/manageindicesform.cpp deleted file mode 100644 index c74ecd5..0000000 --- a/bibletime/frontend/manageindicesform.cpp +++ /dev/null @@ -1,82 +0,0 @@ -#include <kdialog.h> -#include <klocale.h> -/**************************************************************************** -** 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 <qvariant.h> -#include <qframe.h> -#include <qcheckbox.h> -#include <qheader.h> -#include <klistview.h> -#include <qpushbutton.h> -#include <qlayout.h> -#include <qtooltip.h> -#include <qwhatsthis.h> - -/* - * Constructs a ManageIndicesForm as a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -ManageIndicesForm::ManageIndicesForm( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) -{ - if ( !name ) - setName( "ManageIndicesForm" ); - ManageIndicesFormLayout = new QVBoxLayout( this, 0, 8, "ManageIndicesFormLayout"); - - m_labelFrame = new QFrame( this, "m_labelFrame" ); - m_labelFrame->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)5, 0, 0, m_labelFrame->sizePolicy().hasHeightForWidth() ) ); - m_labelFrame->setFrameShape( QFrame::NoFrame ); - m_labelFrame->setFrameShadow( QFrame::Plain ); - ManageIndicesFormLayout->addWidget( m_labelFrame ); - - m_autoDeleteOrphanedIndicesBox = new QCheckBox( this, "m_autoDeleteOrphanedIndicesBox" ); - ManageIndicesFormLayout->addWidget( m_autoDeleteOrphanedIndicesBox ); - - m_moduleList = new KListView( this, "m_moduleList" ); - ManageIndicesFormLayout->addWidget( m_moduleList ); - - layout1 = new QHBoxLayout( 0, 0, 6, "layout1"); - spacer1 = new QSpacerItem( 40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); - layout1->addItem( spacer1 ); - - m_createIndicesButton = new QPushButton( this, "m_createIndicesButton" ); - layout1->addWidget( m_createIndicesButton ); - - m_deleteIndicesButton = new QPushButton( this, "m_deleteIndicesButton" ); - layout1->addWidget( m_deleteIndicesButton ); - ManageIndicesFormLayout->addLayout( layout1 ); - languageChange(); - resize( QSize(415, 404).expandedTo(minimumSizeHint()) ); - clearWState( WState_Polished ); -} - -/* - * Destroys the object and frees any allocated resources - */ -ManageIndicesForm::~ManageIndicesForm() -{ - // no need to delete child widgets, Qt 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_autoDeleteOrphanedIndicesBox->setAccel( QKeySequence( tr2i18n( "Alt+Y" ) ) ); - m_createIndicesButton->setText( tr2i18n( "&Create selected indices" ) ); - m_deleteIndicesButton->setText( tr2i18n( "De&lete selected indices" ) ); -} - -#include "manageindicesform.moc" |