1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
#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 <tqvariant.h>
#include <tqframe.h>
#include <tqcheckbox.h>
#include <tqheader.h>
#include <klistview.h>
#include <tqpushbutton.h>
#include <layout.h>
#include <tqtooltip.h>
#include <tqwhatsthis.h>
/*
* 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 KListView( 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_autoDeleteOrphanedIndicesBox->setAccel( TQKeySequence( tr2i18n( "Alt+Y" ) ) );
m_createIndicesButton->setText( tr2i18n( "&Create selected indices" ) );
m_deleteIndicesButton->setText( tr2i18n( "De&lete selected indices" ) );
}
#include "manageindicesform.moc"
|