diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-03-30 14:11:34 +0300 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2021-03-30 14:11:34 +0300 |
commit | d991b7f387775dc1071fb0c0af78de1c613ca991 (patch) | |
tree | eb7c978130acb1b2c93eeea98be2f647372c6fac /src/komposetaskwidget.h | |
parent | 1bd3c5b42f1570b2100a4986f638f2723ee37ec4 (diff) | |
download | kompose-d991b7f387775dc1071fb0c0af78de1c613ca991.tar.gz kompose-d991b7f387775dc1071fb0c0af78de1c613ca991.zip |
Qt3->TQt conversion.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/komposetaskwidget.h')
-rw-r--r-- | src/komposetaskwidget.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/komposetaskwidget.h b/src/komposetaskwidget.h index ab1a1a9..d83818a 100644 --- a/src/komposetaskwidget.h +++ b/src/komposetaskwidget.h @@ -23,8 +23,8 @@ #include "komposewidget.h" #include "komposetaskprefswidget.h" -#include <qimage.h> -#include <qpixmap.h> +#include <tqimage.h> +#include <tqpixmap.h> class KomposeTask; @@ -40,7 +40,7 @@ class KomposeTaskWidget : public KomposeWidget { Q_OBJECT public: - KomposeTaskWidget(KomposeTask *t, QWidget *parent = 0, KomposeLayout *l = 0, const char *name = 0); + KomposeTaskWidget(KomposeTask *t, TQWidget *parent = 0, KomposeLayout *l = 0, const char *name = 0); ~KomposeTaskWidget(); @@ -56,16 +56,16 @@ signals: void requestRemoval(KomposeWidget*); protected: - void paintEvent ( QPaintEvent * ); - void mouseReleaseEvent ( QMouseEvent * e ); - void mousePressEvent ( QMouseEvent * e ); - void mouseMoveEvent ( QMouseEvent * e ); - void leaveEvent ( QEvent * ); - void enterEvent ( QEvent * ); - void resizeEvent ( QResizeEvent * ); - void focusInEvent ( QFocusEvent * ); - void focusOutEvent ( QFocusEvent * ); - void keyReleaseEvent ( QKeyEvent * e ); + void paintEvent ( TQPaintEvent * ); + void mouseReleaseEvent ( TQMouseEvent * e ); + void mousePressEvent ( TQMouseEvent * e ); + void mouseMoveEvent ( TQMouseEvent * e ); + void leaveEvent ( TQEvent * ); + void enterEvent ( TQEvent * ); + void resizeEvent ( TQResizeEvent * ); + void focusInEvent ( TQFocusEvent * ); + void focusOutEvent ( TQFocusEvent * ); + void keyReleaseEvent ( TQKeyEvent * e ); void startDrag(); void initActions(); @@ -76,17 +76,17 @@ protected slots: void drawWidget(); void drawWidgetAndRepaint(); void initFonts(); - void setGeometry( const QRect &rect ); + void setGeometry( const TQRect &rect ); void reInitMenu(); void slotMinimizeRestoreToggled(); void setActionIcons( bool inverse=false ); private: - QPixmap pm_dbBackground; + TQPixmap pm_dbBackground; bool highlight; // Highlight widget? - QFont titleFont; + TQFont titleFont; KomposeTask* task; KomposeTaskPrefsWidget *prefWidget; |