diff options
Diffstat (limited to 'kommander/widgets/wizard.h')
-rw-r--r-- | kommander/widgets/wizard.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/kommander/widgets/wizard.h b/kommander/widgets/wizard.h index 868a14bc..131c6dd6 100644 --- a/kommander/widgets/wizard.h +++ b/kommander/widgets/wizard.h @@ -19,7 +19,7 @@ /* KDE INCLUDES */ /* QT INCLUDES */ -#include <qwizard.h> +#include <tqwizard.h> /* OTHER INCLUDES */ #include <kommanderwidget.h> @@ -27,37 +27,37 @@ #include <myprocess.h> class QShowEvent; -class KOMMANDER_EXPORT Wizard : public QWizard, public KommanderWidget +class KOMMANDER_EXPORT Wizard : public TQWizard, 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) Q_PROPERTY(HelpAction helpAction READ helpAction WRITE setHelpAction) Q_ENUMS(HelpAction) - Q_PROPERTY(QString helpActionText READ helpActionText WRITE setHelpActionText) + Q_PROPERTY(TQString helpActionText READ helpActionText WRITE setHelpActionText) public: - Wizard(QWidget *, const char *, bool = true, int = 0); + Wizard(TQWidget *, const char *, bool = true, int = 0); ~Wizard(); 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); enum HelpAction { None, Command, Dialog }; HelpAction helpAction() const; void setHelpAction(HelpAction); - QString helpActionText() const; - void setHelpActionText(const QString&); + TQString helpActionText() const; + void setHelpActionText(const TQString&); public slots: - virtual void setWidgetText(const QString &); + virtual void setWidgetText(const TQString &); virtual void exec(); virtual void show(); virtual void runHelp(); @@ -68,15 +68,15 @@ protected slots: signals: void widgetOpened(); - void widgetTextChanged(const QString &); + void widgetTextChanged(const TQString &); void finished(); void contextMenuRequested(int xpos, int ypos); protected: - void showEvent( QShowEvent *e ); - void contextMenuEvent( QContextMenuEvent * e ); + void showEvent( TQShowEvent *e ); + void contextMenuEvent( TQContextMenuEvent * e ); HelpAction m_helpAction; - QString m_helpActionText; + TQString m_helpActionText; }; #endif |