summaryrefslogtreecommitdiffstats
path: root/kradio3/src/include/widgetplugins.h
diff options
context:
space:
mode:
Diffstat (limited to 'kradio3/src/include/widgetplugins.h')
-rw-r--r--kradio3/src/include/widgetplugins.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/kradio3/src/include/widgetplugins.h b/kradio3/src/include/widgetplugins.h
index c138df3..c3339c4 100644
--- a/kradio3/src/include/widgetplugins.h
+++ b/kradio3/src/include/widgetplugins.h
@@ -24,23 +24,23 @@
#include "plugins.h"
-class QWidget;
+class TQWidget;
class WidgetPluginBase : public PluginBase
{
public :
- WidgetPluginBase(const QString &name, const QString &description);
+ WidgetPluginBase(const TQString &name, const TQString &description);
virtual void saveState (KConfig *) const;
virtual void restoreState (KConfig *);
virtual void restoreState (KConfig *, bool showByDefault);
virtual void startPlugin();
- virtual QWidget *getWidget() = 0;
- virtual const QWidget *getWidget() const = 0;
+ virtual TQWidget *getWidget() = 0;
+ virtual const TQWidget *getWidget() const = 0;
- virtual bool isReallyVisible(const QWidget *w = NULL) const;
- virtual bool isAnywhereVisible(const QWidget *w = NULL) const;
+ virtual bool isReallyVisible(const TQWidget *w = NULL) const;
+ virtual bool isAnywhereVisible(const TQWidget *w = NULL) const;
virtual void showOnOrgDesktop () = 0;
protected:
@@ -50,12 +50,12 @@ protected:
virtual void pHide ();
virtual void pToggleShown ();
- virtual void pShowEvent(QShowEvent *);
- virtual void pHideEvent(QHideEvent *);
+ virtual void pShowEvent(TQShowEvent *);
+ virtual void pHideEvent(TQHideEvent *);
virtual void notifyManager(bool shown);
- virtual void getKWinState(const QWidget *w = NULL) const;
+ virtual void getKWinState(const TQWidget *w = NULL) const;
protected:
// temporary data
@@ -64,7 +64,7 @@ protected:
mutable bool m_saveMaximized;
mutable bool m_saveSticky;
mutable int m_saveDesktop;
- mutable QRect m_saveGeometry;
+ mutable TQRect m_saveGeometry;
bool m_geoRestoreFlag;
bool m_restoreShow;