diff options
Diffstat (limited to 'kradio3/plugins/gui-error-log/errorlog.h')
-rw-r--r-- | kradio3/plugins/gui-error-log/errorlog.h | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/kradio3/plugins/gui-error-log/errorlog.h b/kradio3/plugins/gui-error-log/errorlog.h index d558037..8b1c4e1 100644 --- a/kradio3/plugins/gui-error-log/errorlog.h +++ b/kradio3/plugins/gui-error-log/errorlog.h @@ -24,19 +24,20 @@ #include "../../src/include/widgetplugins.h" -class QTextEdit; +class TQTextEdit; class ErrorLog : public KDialogBase, public WidgetPluginBase, public IErrorLog { Q_OBJECT + TQ_OBJECT public: - ErrorLog(const QString &name = QString::null); + ErrorLog(const TQString &name = TQString()); ~ErrorLog(); - virtual QString pluginClassName() const { return "ErrorLog"; } - virtual const QString &name() const { return PluginBase::name(); } - virtual QString &name() { return PluginBase::name(); } + virtual TQString pluginClassName() const { return "ErrorLog"; } + virtual const TQString &name() const { return PluginBase::name(); } + virtual TQString &name() { return PluginBase::name(); } virtual bool connectI (Interface *); virtual bool disconnectI (Interface *); @@ -53,11 +54,11 @@ public slots: virtual void toggleShown () { WidgetPluginBase::pToggleShown(); } protected: - QWidget *getWidget() { return this; } - const QWidget *getWidget() const { return this; } + TQWidget *getWidget() { return this; } + const TQWidget *getWidget() const { return this; } - virtual void showEvent(QShowEvent *); - virtual void hideEvent(QHideEvent *); + virtual void showEvent(TQShowEvent *); + virtual void hideEvent(TQHideEvent *); virtual ConfigPageInfo createConfigurationPage () { return ConfigPageInfo(); } virtual AboutPageInfo createAboutPage () { return AboutPageInfo(); } @@ -65,10 +66,10 @@ protected: // IErrorLog RECEIVERS: - bool logError (const QString &); - bool logWarning(const QString &); - bool logInfo (const QString &); - bool logDebug (const QString &); + bool logError (const TQString &); + bool logWarning(const TQString &); + bool logInfo (const TQString &); + bool logDebug (const TQString &); // KDialogBase @@ -78,7 +79,7 @@ protected slots: protected: - QTextEdit *m_teDebug, + TQTextEdit *m_teDebug, *m_teInfos, *m_teWarnings, *m_teErrors; |