diff options
Diffstat (limited to 'kommander/widgets/checkbox.h')
-rw-r--r-- | kommander/widgets/checkbox.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/kommander/widgets/checkbox.h b/kommander/widgets/checkbox.h index c9743434..f3da677f 100644 --- a/kommander/widgets/checkbox.h +++ b/kommander/widgets/checkbox.h @@ -19,10 +19,10 @@ /* KDE INCLUDES */ /* QT INCLUDES */ -#include <qobject.h> -#include <qstringlist.h> -#include <qstring.h> -#include <qcheckbox.h> +#include <tqobject.h> +#include <tqstringlist.h> +#include <tqstring.h> +#include <tqcheckbox.h> /* OTHER INCLUDES */ #include <kommanderwidget.h> @@ -31,36 +31,36 @@ class QWidget; class QShowEvent; -class KOMMANDER_EXPORT CheckBox : public QCheckBox, public KommanderWidget +class KOMMANDER_EXPORT CheckBox : public TQCheckBox, 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) public: - CheckBox(QWidget *a_parent, const char *a_name); + CheckBox(TQWidget *a_parent, const char *a_name); ~CheckBox(); 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 setWidgetText(const QString&); + virtual void setWidgetText(const TQString&); 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: }; |