diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:56:28 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:56:28 -0600 |
commit | 1bc598742e8dcd7c3f72d892b2c3dd618496b79c (patch) | |
tree | 9a10a647deb5047c499f26e3c19380d9bea64a7f /src/knowitchooser.cpp | |
parent | 58ed6eb0cbce97f0c662eaafc536fd0399466ede (diff) | |
download | knowit-1bc598742e8dcd7c3f72d892b2c3dd618496b79c.tar.gz knowit-1bc598742e8dcd7c3f72d892b2c3dd618496b79c.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 58ed6eb0cbce97f0c662eaafc536fd0399466ede.
Diffstat (limited to 'src/knowitchooser.cpp')
-rw-r--r-- | src/knowitchooser.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/knowitchooser.cpp b/src/knowitchooser.cpp index c025f8f..a17bbd8 100644 --- a/src/knowitchooser.cpp +++ b/src/knowitchooser.cpp @@ -19,7 +19,7 @@ #include <tqcheckbox.h> #include <tqlabel.h> -#include <layout.h> +#include <tqlayout.h> #include <tqvbox.h> #include <kcombobox.h> @@ -31,28 +31,28 @@ KnowitChooser::KnowitChooser(int flags) { TQLabel* l1; TQLabel* l2; - TQVBoxLayout* layout = new TQVBoxLayout(plainPage()); - layout->addWidget(l1 = new TQLabel(i18n("&Exported notes:"), plainPage())); - layout->addWidget(notes = new KComboBox(plainPage(), "Notes")); + TQVBoxLayout* tqlayout = new TQVBoxLayout(plainPage()); + tqlayout->addWidget(l1 = new TQLabel(i18n("&Exported notes:"), plainPage())); + tqlayout->addWidget(notes = new KComboBox(plainPage(), "Notes")); l1->setBuddy(notes); notes->insertItem(i18n("All")); - notes->insertItem(i18n("Current with children")); + notes->insertItem(i18n("Current with tqchildren")); notes->insertItem(i18n("Current only")); - layout->addWidget(l2 = new TQLabel(i18n("&Encoding:"), plainPage())); - layout->addWidget(charset = new KComboBox(plainPage(), "Encoding")); + tqlayout->addWidget(l2 = new TQLabel(i18n("&Encoding:"), plainPage())); + tqlayout->addWidget(charset = new KComboBox(plainPage(), "Encoding")); l2->setBuddy(charset); charset->insertItem(i18n("Local (8-bit)")); charset->insertItem(i18n("UTF-8")); - layout->addItem(new TQSpacerItem(0, 10)); - layout->addWidget(enumerate = new TQCheckBox(i18n("Numbered titles"), + tqlayout->addItem(new TQSpacerItem(0, 10)); + tqlayout->addWidget(enumerate = new TQCheckBox(i18n("Numbered titles"), plainPage(), "Numbered")); - layout->addWidget(toc = new TQCheckBox(i18n("Table of contents"), + tqlayout->addWidget(toc = new TQCheckBox(i18n("Table of contents"), plainPage(), "TOC")); - layout->addWidget(rule = new TQCheckBox(i18n("Rule betweeen notes"), + tqlayout->addWidget(rule = new TQCheckBox(i18n("Rule betweeen notes"), plainPage(), "Rule")); - layout->addWidget(style = new TQCheckBox(i18n("Use editor font and colors"), + tqlayout->addWidget(style = new TQCheckBox(i18n("Use editor font and colors"), plainPage(), "Style")); setChoice(flags); } |