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
83
84
85
86
87
88
|
#include <kdialog.h>
#include <klocale.h>
/****************************************************************************
** Form implementation generated from reading ui file './sourceprefs.ui'
**
** Created: Thu Jun 21 19:16:51 2007
** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.7 edited Aug 31 2005 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#include "sourceprefs.h"
#include <tqvariant.h>
#include <tqpushbutton.h>
#include <tqlabel.h>
#include <tqlineedit.h>
#include <tqcheckbox.h>
#include <layout.h>
#include <tqtooltip.h>
#include <tqwhatsthis.h>
/*
* Constructs a SourcePrefs as a child of 'parent', with the
* name 'name' and widget flags set to 'f'.
*/
SourcePrefs::SourcePrefs( TQWidget* parent, const char* name, WFlags fl )
: TQWidget( parent, name, fl )
{
if ( !name )
setName( "SourcePrefs" );
SourcePrefsLayout = new TQVBoxLayout( this, 0, 6, "SourcePrefsLayout");
descriptionLabel = new TQLabel( this, "descriptionLabel" );
SourcePrefsLayout->addWidget( descriptionLabel );
hBoxLayout = new TQHBoxLayout( 0, 0, 6, "hBoxLayout");
nameLabel = new TQLabel( this, "nameLabel" );
hBoxLayout->addWidget( nameLabel );
nameLineEdit = new TQLineEdit( this, "nameLineEdit" );
hBoxLayout->addWidget( nameLineEdit );
spacer8 = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
hBoxLayout->addItem( spacer8 );
SourcePrefsLayout->addLayout( hBoxLayout );
taskbarCheckBox = new TQCheckBox( this, "taskbarCheckBox" );
SourcePrefsLayout->addWidget( taskbarCheckBox );
hBoxLayout2 = new TQHBoxLayout( 0, 0, 6, "hBoxLayout2");
spacer8_2 = new TQSpacerItem( 20, 20, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
hBoxLayout2->addItem( spacer8_2 );
nameCheckBox = new TQCheckBox( this, "nameCheckBox" );
hBoxLayout2->addWidget( nameCheckBox );
SourcePrefsLayout->addLayout( hBoxLayout2 );
tooltipCheckBox = new TQCheckBox( this, "tooltipCheckBox" );
SourcePrefsLayout->addWidget( tooltipCheckBox );
languageChange();
resize( TQSize(203, 127).expandedTo(minimumSizeHint()) );
clearWState( WState_Polished );
}
/*
* Destroys the object and frees any allocated resources
*/
SourcePrefs::~SourcePrefs()
{
// no need to delete child widgets, TQt does it all for us
}
/*
* Sets the strings of the subwidgets using the current
* language.
*/
void SourcePrefs::languageChange()
{
setCaption( tr2i18n( "SourcePrefs" ) );
descriptionLabel->setText( tr2i18n( "description" ) );
nameLabel->setText( tr2i18n( "Name:" ) );
taskbarCheckBox->setText( tr2i18n( "Show this source in Taskbar" ) );
nameCheckBox->setText( tr2i18n( "Show name in Taskbar" ) );
tooltipCheckBox->setText( tr2i18n( "Show this source in ToolTip" ) );
}
#include "sourceprefs.moc"
|