From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kalarm/lib/buttongroup.cpp | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'kalarm/lib/buttongroup.cpp') 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 * @@ -19,45 +19,45 @@ */ #include "kalarm.h" -#include -#include +#include +#include #include #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; } -- cgit v1.2.1