From dc6b8e72fed2586239e3514819238c520636c9d9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:54:04 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kommander/widgets/buttongroup.h | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'kommander/widgets/buttongroup.h') diff --git a/kommander/widgets/buttongroup.h b/kommander/widgets/buttongroup.h index 0e123864..f5a01be3 100644 --- a/kommander/widgets/buttongroup.h +++ b/kommander/widgets/buttongroup.h @@ -19,10 +19,10 @@ /* KDE INCLUDES */ /* QT INCLUDES */ -#include -#include -#include -#include +#include +#include +#include +#include /* OTHER INCLUDES */ #include @@ -31,36 +31,36 @@ class QWidget; class QShowEvent; -class KOMMANDER_EXPORT ButtonGroup : public QButtonGroup, public KommanderWidget +class KOMMANDER_EXPORT ButtonGroup : public TQButtonGroup, public KommanderWidget { Q_OBJECT - Q_PROPERTY(QString populationText READ populationText WRITE setPopulationText DESIGNABLE false) - Q_PROPERTY(QStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false) + Q_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false) + Q_PROPERTY(TQStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false) Q_PROPERTY(bool KommanderWidget READ isKommanderWidget DESIGNABLE false) public: - ButtonGroup(QWidget *a_parent, const char *a_name); + ButtonGroup(TQWidget *a_parent, const char *a_name); ~ButtonGroup(); virtual bool isKommanderWidget() const; - virtual void setAssociatedText(const QStringList&); - virtual QStringList associatedText() const; - virtual QString currentState() const; - virtual QString populationText() const; - virtual void setPopulationText(const QString&); + virtual void setAssociatedText(const TQStringList&); + virtual TQStringList associatedText() const; + virtual TQString currentState() const; + virtual TQString populationText() const; + virtual void setPopulationText(const TQString&); - virtual QString handleDCOP(int function, const QStringList& args); + virtual TQString handleDCOP(int function, const TQStringList& args); virtual bool isFunctionSupported(int function); public slots: virtual void populate(); signals: void widgetOpened(); - void widgetTextChanged(const QString&); + void widgetTextChanged(const TQString&); void contextMenuRequested(int xpos, int ypos); protected: - void showEvent(QShowEvent* e); - void contextMenuEvent( QContextMenuEvent * e ); + void showEvent(TQShowEvent* e); + void contextMenuEvent( TQContextMenuEvent * e ); private: }; -- cgit v1.2.3