diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-01 03:43:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-01 03:43:07 +0000 |
commit | 70b9eea2ba01c3691497f49e4c45cb070c16193c (patch) | |
tree | 9a6df61aa247a27275aad9c5245e419e89c2c640 /kradio3/plugins/gui-error-log/errorlog.h | |
parent | 998c1384ace4ae4655997c181fa33242148cd0a4 (diff) | |
download | tderadio-70b9eea2ba01c3691497f49e4c45cb070c16193c.tar.gz tderadio-70b9eea2ba01c3691497f49e4c45cb070c16193c.zip |
TQt4 port kradio
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kradio@1238952 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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; |