summaryrefslogtreecommitdiffstats
path: root/src/knowitchooser.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:05:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:05:11 -0600
commit864fecb39f6313d72b603a4e3971bae44f09fa10 (patch)
tree8253cdf5f83b4b88e77a6512861012fd5242490a /src/knowitchooser.cpp
parent98fe2a53a79a3c1ae295d0bd3b4346ae89a8fa9d (diff)
downloadknowit-864fecb39f6313d72b603a4e3971bae44f09fa10.tar.gz
knowit-864fecb39f6313d72b603a4e3971bae44f09fa10.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'src/knowitchooser.cpp')
-rw-r--r--src/knowitchooser.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/knowitchooser.cpp b/src/knowitchooser.cpp
index 5f6c755..450aaf3 100644
--- a/src/knowitchooser.cpp
+++ b/src/knowitchooser.cpp
@@ -31,28 +31,28 @@ KnowitChooser::KnowitChooser(int flags)
{
TQLabel* l1;
TQLabel* l2;
- TQVBoxLayout* tqlayout = new TQVBoxLayout(plainPage());
- tqlayout->addWidget(l1 = new TQLabel(i18n("&Exported notes:"), plainPage()));
- tqlayout->addWidget(notes = new KComboBox(plainPage(), "Notes"));
+ TQVBoxLayout* layout = new TQVBoxLayout(plainPage());
+ layout->addWidget(l1 = new TQLabel(i18n("&Exported notes:"), plainPage()));
+ layout->addWidget(notes = new KComboBox(plainPage(), "Notes"));
l1->setBuddy(notes);
notes->insertItem(i18n("All"));
notes->insertItem(i18n("Current with children"));
notes->insertItem(i18n("Current only"));
- tqlayout->addWidget(l2 = new TQLabel(i18n("&Encoding:"), plainPage()));
- tqlayout->addWidget(charset = new KComboBox(plainPage(), "Encoding"));
+ layout->addWidget(l2 = new TQLabel(i18n("&Encoding:"), plainPage()));
+ layout->addWidget(charset = new KComboBox(plainPage(), "Encoding"));
l2->setBuddy(charset);
charset->insertItem(i18n("Local (8-bit)"));
charset->insertItem(i18n("UTF-8"));
- tqlayout->addItem(new TQSpacerItem(0, 10));
- tqlayout->addWidget(enumerate = new TQCheckBox(i18n("Numbered titles"),
+ layout->addItem(new TQSpacerItem(0, 10));
+ layout->addWidget(enumerate = new TQCheckBox(i18n("Numbered titles"),
plainPage(), "Numbered"));
- tqlayout->addWidget(toc = new TQCheckBox(i18n("Table of contents"),
+ layout->addWidget(toc = new TQCheckBox(i18n("Table of contents"),
plainPage(), "TOC"));
- tqlayout->addWidget(rule = new TQCheckBox(i18n("Rule betweeen notes"),
+ layout->addWidget(rule = new TQCheckBox(i18n("Rule betweeen notes"),
plainPage(), "Rule"));
- tqlayout->addWidget(style = new TQCheckBox(i18n("Use editor font and colors"),
+ layout->addWidget(style = new TQCheckBox(i18n("Use editor font and colors"),
plainPage(), "Style"));
setChoice(flags);
}