diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:50:38 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:50:38 -0600 |
commit | d6331f1b56eb6dca7a1950658b2932f208015da0 (patch) | |
tree | f99bf8d1571f93304bdb4a46fb199a1bde60e6ee /cervisia/watchdlg.cpp | |
parent | e738fee8847c1f606df7b338a589cc8c0539a521 (diff) | |
download | tdesdk-d6331f1b56eb6dca7a1950658b2932f208015da0.tar.gz tdesdk-d6331f1b56eb6dca7a1950658b2932f208015da0.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'cervisia/watchdlg.cpp')
-rw-r--r-- | cervisia/watchdlg.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/cervisia/watchdlg.cpp b/cervisia/watchdlg.cpp index 607dbd46..0ce48954 100644 --- a/cervisia/watchdlg.cpp +++ b/cervisia/watchdlg.cpp @@ -23,7 +23,7 @@ #include <tqbuttongroup.h> #include <tqcheckbox.h> #include <tqlabel.h> -#include <tqlayout.h> +#include <layout.h> #include <tqradiobutton.h> #include <klocale.h> @@ -36,37 +36,37 @@ WatchDialog::WatchDialog(ActionType action, TQWidget *parent, const char *name) TQFrame* mainWidget = makeMainWidget(); - TQBoxLayout *tqlayout = new TQVBoxLayout(mainWidget, 0, spacingHint()); + TQBoxLayout *layout = new TQVBoxLayout(mainWidget, 0, spacingHint()); TQLabel *textlabel = new TQLabel ( (action==Add)? i18n("Add watches for the following events:") : i18n("Remove watches for the following events:"), mainWidget ); - tqlayout->addWidget(textlabel, 0); + layout->addWidget(textlabel, 0); all_button = new TQRadioButton(i18n("&All"), mainWidget); all_button->setFocus(); all_button->setChecked(true); - tqlayout->addWidget(all_button); + layout->addWidget(all_button); only_button = new TQRadioButton(i18n("&Only:"), mainWidget); - tqlayout->addWidget(only_button); + layout->addWidget(only_button); - TQGridLayout *eventstqlayout = new TQGridLayout(tqlayout); - eventstqlayout->addColSpacing(0, 20); - eventstqlayout->setColStretch(0, 0); - eventstqlayout->setColStretch(1, 1); + TQGridLayout *eventslayout = new TQGridLayout(layout); + eventslayout->addColSpacing(0, 20); + eventslayout->setColStretch(0, 0); + eventslayout->setColStretch(1, 1); commitbox = new TQCheckBox(i18n("&Commits"), mainWidget); commitbox->setEnabled(false); - eventstqlayout->addWidget(commitbox, 0, 1); + eventslayout->addWidget(commitbox, 0, 1); editbox = new TQCheckBox(i18n("&Edits"), mainWidget); editbox->setEnabled(false); - eventstqlayout->addWidget(editbox, 1, 1); + eventslayout->addWidget(editbox, 1, 1); uneditbox = new TQCheckBox(i18n("&Unedits"), mainWidget); uneditbox->setEnabled(false); - eventstqlayout->addWidget(uneditbox, 2, 1); + eventslayout->addWidget(uneditbox, 2, 1); TQButtonGroup* group = new TQButtonGroup(mainWidget); group->hide(); |