From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kalarm/lib/buttongroup.h | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'kalarm/lib/buttongroup.h') diff --git a/kalarm/lib/buttongroup.h b/kalarm/lib/buttongroup.h index 8fbadae77..9d4a8886a 100644 --- a/kalarm/lib/buttongroup.h +++ b/kalarm/lib/buttongroup.h @@ -1,5 +1,5 @@ /* - * buttongroup.h - TQButtonGroup with an extra signal and Qt 2 compatibility + * buttongroup.h - TQButtonGroup with an extra signal and TQt 2 compatibility * Program: kalarm * Copyright © 2002,2004,2006 by David Jarvie * @@ -24,47 +24,48 @@ /** - * @short A TQButtonGroup with signal on new selection, plus Qt 2 compatibility. + * @short A TQButtonGroup with signal on new selection, plus TQt 2 compatibility. * * The ButtonGroup class provides an enhanced version of the TQButtonGroup class. * * It emits an additional signal, buttonSet(int), whenever any of its buttons * changes state, for whatever reason, including programmatic control. (The * TQButtonGroup class only emits signals when buttons are clicked on by the user.) - * The class also provides Qt 2 compatibility. + * The class also provides TQt 2 compatibility. * * @author David Jarvie */ -class ButtonGroup : public QButtonGroup +class ButtonGroup : public TQButtonGroup { Q_OBJECT + TQ_OBJECT public: /** Constructor. - * @param parent The parent object of this widget. + * @param tqparent The tqparent object of this widget. * @param name The name of this widget. */ - explicit ButtonGroup(TQWidget* parent, const char* name = 0); + explicit ButtonGroup(TQWidget* tqparent, const char* name = 0); /** Constructor. * @param title The title displayed for this button group. - * @param parent The parent object of this widget. + * @param tqparent The tqparent object of this widget. * @param name The name of this widget. */ - ButtonGroup(const TQString& title, TQWidget* parent, const char* name = 0); + ButtonGroup(const TQString& title, TQWidget* tqparent, const char* name = 0); /** Constructor. * @param strips The number of rows or columns of buttons. - * @param orient The orientation (Qt::Horizontal or Qt::Vertical) of the button group. - * @param parent The parent object of this widget. + * @param orient The orientation (TQt::Horizontal or TQt::Vertical) of the button group. + * @param tqparent The tqparent object of this widget. * @param name The name of this widget. */ - ButtonGroup(int strips, Qt::Orientation orient, TQWidget* parent, const char* name = 0); + ButtonGroup(int strips, Qt::Orientation orient, TQWidget* tqparent, const char* name = 0); /** Constructor. * @param strips The number of rows or columns of buttons. - * @param orient The orientation (Qt::Horizontal or Qt::Vertical) of the button group. + * @param orient The orientation (TQt::Horizontal or TQt::Vertical) of the button group. * @param title The title displayed for this button group. - * @param parent The parent object of this widget. + * @param tqparent The tqparent object of this widget. * @param name The name of this widget. */ - ButtonGroup(int strips, Qt::Orientation orient, const TQString& title, TQWidget* parent, const char* name = 0); + ButtonGroup(int strips, Qt::Orientation orient, const TQString& title, TQWidget* tqparent, const char* name = 0); /** Inserts a button in the group. * This overrides the insert() method of TQButtonGroup, which should really be a virtual method... * @param button The button to insert. -- cgit v1.2.1