diff options
author | Timothy Pearson <[email protected]> | 2011-12-21 14:23:31 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-21 14:23:31 -0600 |
commit | 36b1e019b76f39cca8fc81f6d4df544f1c94c179 (patch) | |
tree | 3ca2f4886d1a2810b952164dd1b0f3e92ef6bf3a /cervisia/watchdlg.cpp | |
parent | f78838f2f736acc2b235d8b680f3379a07a6d372 (diff) | |
download | tdesdk-36b1e019b76f39cca8fc81f6d4df544f1c94c179.tar.gz tdesdk-36b1e019b76f39cca8fc81f6d4df544f1c94c179.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'cervisia/watchdlg.cpp')
-rw-r--r-- | cervisia/watchdlg.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/cervisia/watchdlg.cpp b/cervisia/watchdlg.cpp index 607dbd46..7be45e32 100644 --- a/cervisia/watchdlg.cpp +++ b/cervisia/watchdlg.cpp @@ -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(); |