summaryrefslogtreecommitdiffstats
path: root/kcron/ktvariable.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:17:29 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:17:29 -0600
commit38a31bafc0c0c68b4cb7c0606bac55bbef7c8b69 (patch)
tree8abdf61ff3720b7056a0cf1bc3bbbcf334252c31 /kcron/ktvariable.cpp
parent6b7a8ff33a6383be4a9dea3c4225d142aab79b78 (diff)
downloadtdeadmin-38a31bafc0c0c68b4cb7c0606bac55bbef7c8b69.tar.gz
tdeadmin-38a31bafc0c0c68b4cb7c0606bac55bbef7c8b69.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'kcron/ktvariable.cpp')
-rw-r--r--kcron/ktvariable.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kcron/ktvariable.cpp b/kcron/ktvariable.cpp
index 474d22c..84080ad 100644
--- a/kcron/ktvariable.cpp
+++ b/kcron/ktvariable.cpp
@@ -27,18 +27,18 @@ KTVariable::KTVariable(CTVariable* _ctvar,const TQString &_caption) :
ctvar( _ctvar)
{
TQFrame *page = makeMainWidget();
- TQGridLayout *tqlayout = new TQGridLayout( page, 5, 3, 0, spacingHint() );
- tqlayout->setRowStretch(3, 1);
- tqlayout->setColStretch(1, 1);
+ TQGridLayout *layout = new TQGridLayout( page, 5, 3, 0, spacingHint() );
+ layout->setRowStretch(3, 1);
+ layout->setColStretch(1, 1);
setIcon(KTIcon::application(true));
// variable
labVariable = new TQLabel(i18n("&Variable:"), page, "labVariable");
- tqlayout->addWidget(labVariable, 1, 0, TQt::AlignLeft | TQt::AlignTop);
+ layout->addWidget(labVariable, 1, 0, TQt::AlignLeft | TQt::AlignTop);
cmbVariable = new TQComboBox(true, page, "cmbVariable");
- tqlayout->addWidget(cmbVariable, 1, 1);
+ layout->addWidget(cmbVariable, 1, 1);
cmbVariable->insertItem("HOME");
cmbVariable->insertItem("MAILTO");
@@ -49,30 +49,30 @@ KTVariable::KTVariable(CTVariable* _ctvar,const TQString &_caption) :
// icon
labIcon = new TQLabel(page, "labIcon");
- tqlayout->addMultiCellWidget(labIcon, 0, 1, 2, 2);
+ layout->addMultiCellWidget(labIcon, 0, 1, 2, 2);
// value
labValue = new TQLabel(i18n("Va&lue:"), page, "labValue");
- tqlayout->addWidget(labValue, 2, 0, TQt::AlignLeft | TQt::AlignTop);
+ layout->addWidget(labValue, 2, 0, TQt::AlignLeft | TQt::AlignTop);
leValue = new TQLineEdit(page, "leValue");
- tqlayout->addMultiCellWidget(leValue, 2, 2, 1, 2);
+ layout->addMultiCellWidget(leValue, 2, 2, 1, 2);
leValue->setMaxLength(255);
labValue->setBuddy(leValue);
// comment
labComment = new TQLabel(i18n("Co&mment:"), page, "labComment");
- tqlayout->addWidget(labComment, 3, 0, TQt::AlignLeft | TQt::AlignTop);
+ layout->addWidget(labComment, 3, 0, TQt::AlignLeft | TQt::AlignTop);
teComment = new KTextEdit(page, "teComment");
teComment->setTextFormat(TQt::PlainText);
- tqlayout->addMultiCellWidget(teComment, 3, 3, 1, 2);
+ layout->addMultiCellWidget(teComment, 3, 3, 1, 2);
labComment->setBuddy(teComment);
// enabled
chkEnabled = new TQCheckBox(i18n("&Enabled"), page, "chkEnabled");
- tqlayout->addWidget(chkEnabled, 4, 0);
+ layout->addWidget(chkEnabled, 4, 0);
// set starting field values
cmbVariable->setEditText(TQString::fromLocal8Bit(ctvar->variable.c_str()));