diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
commit | 5f5ee2367157176ed223b86343eb0a9e4022e020 (patch) | |
tree | 6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /ksim/ksimframe.h | |
parent | 4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff) | |
download | tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksim/ksimframe.h')
-rw-r--r-- | ksim/ksimframe.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/ksim/ksimframe.h b/ksim/ksimframe.h index b7b397f..5b8db0e 100644 --- a/ksim/ksimframe.h +++ b/ksim/ksimframe.h @@ -20,8 +20,8 @@ #ifndef KSIMFRAME_H #define KSIMFRAME_H -#include <qwidget.h> -#include <qimage.h> +#include <tqwidget.h> +#include <tqimage.h> #include <common.h> namespace KSim @@ -31,19 +31,19 @@ namespace KSim /** * @internal */ - class Frame : public QWidget, public KSim::Base + class Frame : public TQWidget, public KSim::Base { Q_OBJECT public: - Frame(int type, QWidget *parent, const char *name = 0); + Frame(int type, TQWidget *parent, const char *name = 0); ~Frame(); - const QPixmap *const background() const { return &m_background; } + const TQPixmap *const background() const { return &m_background; } virtual void configureObject(bool repaintWidget=true); protected: - virtual void paintEvent(QPaintEvent *); - virtual void resizeEvent(QResizeEvent *); + virtual void paintEvent(TQPaintEvent *); + virtual void resizeEvent(TQResizeEvent *); private: // helper functions to make @@ -53,11 +53,11 @@ namespace KSim int m_origWidth; int m_origHeight; - QPoint m_globalBottomRight; - QPoint m_globalTopLeft; - QPoint m_origPos; - QImage m_image; - QPixmap m_background; + TQPoint m_globalBottomRight; + TQPoint m_globalTopLeft; + TQPoint m_origPos; + TQImage m_image; + TQPixmap m_background; }; } #endif |