diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kalarm/lib/buttongroup.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalarm/lib/buttongroup.cpp')
-rw-r--r-- | kalarm/lib/buttongroup.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/kalarm/lib/buttongroup.cpp b/kalarm/lib/buttongroup.cpp index b448df48a..018640123 100644 --- a/kalarm/lib/buttongroup.cpp +++ b/kalarm/lib/buttongroup.cpp @@ -1,5 +1,5 @@ /* - * buttongroup.cpp - QButtonGroup with an extra signal and KDE 2 compatibility + * buttongroup.cpp - TQButtonGroup with an extra signal and KDE 2 compatibility * Program: kalarm * Copyright (c) 2002, 2004 by David Jarvie <software@astrojar.org.uk> * @@ -19,45 +19,45 @@ */ #include "kalarm.h" -#include <qlayout.h> -#include <qbutton.h> +#include <tqlayout.h> +#include <tqbutton.h> #include <kdialog.h> #include "buttongroup.moc" -ButtonGroup::ButtonGroup(QWidget* parent, const char* name) - : QButtonGroup(parent, name) +ButtonGroup::ButtonGroup(TQWidget* parent, const char* name) + : TQButtonGroup(parent, name) { - connect(this, SIGNAL(clicked(int)), SIGNAL(buttonSet(int))); + connect(this, TQT_SIGNAL(clicked(int)), TQT_SIGNAL(buttonSet(int))); } -ButtonGroup::ButtonGroup(const QString& title, QWidget* parent, const char* name) - : QButtonGroup(title, parent, name) +ButtonGroup::ButtonGroup(const TQString& title, TQWidget* parent, const char* name) + : TQButtonGroup(title, parent, name) { - connect(this, SIGNAL(clicked(int)), SIGNAL(buttonSet(int))); + connect(this, TQT_SIGNAL(clicked(int)), TQT_SIGNAL(buttonSet(int))); } -ButtonGroup::ButtonGroup(int strips, Qt::Orientation orient, QWidget* parent, const char* name) - : QButtonGroup(strips, orient, parent, name) +ButtonGroup::ButtonGroup(int strips, Qt::Orientation orient, TQWidget* parent, const char* name) + : TQButtonGroup(strips, orient, parent, name) { - connect(this, SIGNAL(clicked(int)), SIGNAL(buttonSet(int))); + connect(this, TQT_SIGNAL(clicked(int)), TQT_SIGNAL(buttonSet(int))); } -ButtonGroup::ButtonGroup(int strips, Qt::Orientation orient, const QString& title, QWidget* parent, const char* name) - : QButtonGroup(strips, orient, title, parent, name) +ButtonGroup::ButtonGroup(int strips, Qt::Orientation orient, const TQString& title, TQWidget* parent, const char* name) + : TQButtonGroup(strips, orient, title, parent, name) { - connect(this, SIGNAL(clicked(int)), SIGNAL(buttonSet(int))); + connect(this, TQT_SIGNAL(clicked(int)), TQT_SIGNAL(buttonSet(int))); } /****************************************************************************** * Inserts a button in the group. * This should really be a virtual method... */ -int ButtonGroup::insert(QButton* button, int id) +int ButtonGroup::insert(TQButton* button, int id) { - id = QButtonGroup::insert(button, id); - connect(button, SIGNAL(toggled(bool)), SLOT(slotButtonToggled(bool))); + id = TQButtonGroup::insert(button, id); + connect(button, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotButtonToggled(bool))); return id; } |