diff options
Diffstat (limited to 'kpresenter/KPrImageEffectDia.h')
-rw-r--r-- | kpresenter/KPrImageEffectDia.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/kpresenter/KPrImageEffectDia.h b/kpresenter/KPrImageEffectDia.h index 7e26b50f..38b03937 100644 --- a/kpresenter/KPrImageEffectDia.h +++ b/kpresenter/KPrImageEffectDia.h @@ -21,7 +21,7 @@ #ifndef IMAGEEFFECTDIA_H #define IMAGEEFFECTDIA_H -#include <qpixmap.h> +#include <tqpixmap.h> #include <kdialogbase.h> @@ -30,15 +30,16 @@ class KPrImageEffectDia: public KDialogBase { Q_OBJECT + TQ_OBJECT public: - KPrImageEffectDia(QWidget * parent = 0, const char * name = 0); + KPrImageEffectDia(TQWidget * tqparent = 0, const char * name = 0); ~KPrImageEffectDia(); /** * Set the initial preview pixmap */ - void setPixmap(QPixmap pix); + void setPixmap(TQPixmap pix); /** * Returns the selected effect @@ -47,23 +48,23 @@ public: /** * Returns the first param of the selected effect */ - QVariant getParam1() const {return m_param1;} + TQVariant getParam1() const {return m_param1;} /** * Returns the second param of the the selected effect */ - QVariant getParam2() const {return m_param2;} + TQVariant getParam2() const {return m_param2;} /** * Returns the third param of the the selected effect */ - QVariant getParam3() const {return m_param3;} + TQVariant getParam3() const {return m_param3;} /** * Set the initial effect and its params before showing the dialog */ - void setEffect(ImageEffect eff, QVariant p1, QVariant p2, QVariant p3); + void setEffect(ImageEffect eff, TQVariant p1, TQVariant p2, TQVariant p3); protected: - virtual void showEvent(QShowEvent * e); + virtual void showEvent(TQShowEvent * e); private slots: void effectChanged(int); @@ -73,10 +74,10 @@ private slots: private: void updatePreview(); void setupSignals(); - QPixmap m_pix; - QPixmap m_origpix; + TQPixmap m_pix; + TQPixmap m_origpix; ImageEffect m_effect; - QVariant m_param1, m_param2, m_param3; + TQVariant m_param1, m_param2, m_param3; EffectBrowserBase * base; }; |