summaryrefslogtreecommitdiffstats
path: root/cervisia/watchdlg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
commit4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch)
treeb0a7cd1c184f0003c0292eb416ed27f674f9cc43 /cervisia/watchdlg.cpp
parent1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff)
downloadtdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz
tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'cervisia/watchdlg.cpp')
-rw-r--r--cervisia/watchdlg.cpp46
1 files changed, 23 insertions, 23 deletions
diff --git a/cervisia/watchdlg.cpp b/cervisia/watchdlg.cpp
index 317f5c95..1ea42da6 100644
--- a/cervisia/watchdlg.cpp
+++ b/cervisia/watchdlg.cpp
@@ -20,65 +20,65 @@
#include "watchdlg.h"
-#include <qbuttongroup.h>
-#include <qcheckbox.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qradiobutton.h>
+#include <tqbuttongroup.h>
+#include <tqcheckbox.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqradiobutton.h>
#include <klocale.h>
-WatchDialog::WatchDialog(ActionType action, QWidget *parent, const char *name)
- : KDialogBase(parent, name, true, QString::null,
+WatchDialog::WatchDialog(ActionType action, TQWidget *parent, const char *name)
+ : KDialogBase(parent, name, true, TQString::null,
Ok | Cancel | Help, Ok, true)
{
setCaption( (action==Add)? i18n("CVS Watch Add") : i18n("CVS Watch Remove") );
- QFrame* mainWidget = makeMainWidget();
+ TQFrame* mainWidget = makeMainWidget();
- QBoxLayout *layout = new QVBoxLayout(mainWidget, 0, spacingHint());
+ TQBoxLayout *layout = new TQVBoxLayout(mainWidget, 0, spacingHint());
- QLabel *textlabel = new QLabel
+ TQLabel *textlabel = new QLabel
( (action==Add)? i18n("Add watches for the following events:")
: i18n("Remove watches for the following events:"), mainWidget );
layout->addWidget(textlabel, 0);
- all_button = new QRadioButton(i18n("&All"), mainWidget);
+ all_button = new TQRadioButton(i18n("&All"), mainWidget);
all_button->setFocus();
all_button->setChecked(true);
layout->addWidget(all_button);
- only_button = new QRadioButton(i18n("&Only:"), mainWidget);
+ only_button = new TQRadioButton(i18n("&Only:"), mainWidget);
layout->addWidget(only_button);
- QGridLayout *eventslayout = new QGridLayout(layout);
+ TQGridLayout *eventslayout = new TQGridLayout(layout);
eventslayout->addColSpacing(0, 20);
eventslayout->setColStretch(0, 0);
eventslayout->setColStretch(1, 1);
- commitbox = new QCheckBox(i18n("&Commits"), mainWidget);
+ commitbox = new TQCheckBox(i18n("&Commits"), mainWidget);
commitbox->setEnabled(false);
eventslayout->addWidget(commitbox, 0, 1);
- editbox = new QCheckBox(i18n("&Edits"), mainWidget);
+ editbox = new TQCheckBox(i18n("&Edits"), mainWidget);
editbox->setEnabled(false);
eventslayout->addWidget(editbox, 1, 1);
- uneditbox = new QCheckBox(i18n("&Unedits"), mainWidget);
+ uneditbox = new TQCheckBox(i18n("&Unedits"), mainWidget);
uneditbox->setEnabled(false);
eventslayout->addWidget(uneditbox, 2, 1);
- QButtonGroup* group = new QButtonGroup(mainWidget);
+ TQButtonGroup* group = new TQButtonGroup(mainWidget);
group->hide();
group->insert(all_button);
group->insert(only_button);
- connect( only_button, SIGNAL(toggled(bool)),
- commitbox, SLOT(setEnabled(bool)) );
- connect( only_button, SIGNAL(toggled(bool)),
- editbox, SLOT(setEnabled(bool)) );
- connect( only_button, SIGNAL(toggled(bool)),
- uneditbox, SLOT(setEnabled(bool)) );
+ connect( only_button, TQT_SIGNAL(toggled(bool)),
+ commitbox, TQT_SLOT(setEnabled(bool)) );
+ connect( only_button, TQT_SIGNAL(toggled(bool)),
+ editbox, TQT_SLOT(setEnabled(bool)) );
+ connect( only_button, TQT_SIGNAL(toggled(bool)),
+ uneditbox, TQT_SLOT(setEnabled(bool)) );
setHelp("watches");
}