diff options
Diffstat (limited to 'src/gui/overlaywidget.h')
-rw-r--r-- | src/gui/overlaywidget.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/gui/overlaywidget.h b/src/gui/overlaywidget.h index 7b4453e..80eb245 100644 --- a/src/gui/overlaywidget.h +++ b/src/gui/overlaywidget.h @@ -17,7 +17,7 @@ #ifndef TELLICO_GUI_OVERLAYWIDGET_H #define TELLICO_GUI_OVERLAYWIDGET_H -#include <qframe.h> +#include <tqframe.h> namespace Tellico { namespace GUI { @@ -25,26 +25,27 @@ namespace Tellico { /** * @author Robby Stephenson */ -class OverlayWidget : public QFrame { +class OverlayWidget : public TQFrame { Q_OBJECT + TQ_OBJECT public: - OverlayWidget(QWidget* parent, QWidget* anchor); + OverlayWidget(TQWidget* tqparent, TQWidget* anchor); void setCorner(Corner corner); Corner corner() const { return m_corner; } - void addWidget(QWidget* widget); + void addWidget(TQWidget* widget); protected: - void resizeEvent(QResizeEvent* event); - bool eventFilter(QObject* object, QEvent* event); - bool event(QEvent* event); + void resizeEvent(TQResizeEvent* event); + bool eventFilter(TQObject* object, TQEvent* event); + bool event(TQEvent* event); private: void reposition(); - QWidget* m_anchor; + TQWidget* m_anchor; Corner m_corner; }; |