diff options
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(); |