From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kolourpaint/pixmapfx/kpeffectreducecolors.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'kolourpaint/pixmapfx/kpeffectreducecolors.h') diff --git a/kolourpaint/pixmapfx/kpeffectreducecolors.h b/kolourpaint/pixmapfx/kpeffectreducecolors.h index a14cffc7..bf44ef3e 100644 --- a/kolourpaint/pixmapfx/kpeffectreducecolors.h +++ b/kolourpaint/pixmapfx/kpeffectreducecolors.h @@ -33,13 +33,13 @@ #include -class QRadioButton; -class QImage; +class TQRadioButton; +class TQImage; class kpMainWindow; -QImage convertImageDepth (const QImage &image, int depth, bool dither); +TQImage convertImageDepth (const TQImage &image, int depth, bool dither); class kpEffectReduceColorsCommand : public kpColorEffectCommand @@ -51,11 +51,11 @@ public: kpMainWindow *mainWindow); virtual ~kpEffectReduceColorsCommand (); - QString commandName (int depth, int dither) const; + TQString commandName (int depth, int dither) const; // (always preserves mask) - static void apply (QPixmap *destPixmapPtr, int depth, bool dither); - static QPixmap apply (const QPixmap &pm, int depth, bool dither); + static void apply (TQPixmap *destPixmapPtr, int depth, bool dither); + static TQPixmap apply (const TQPixmap &pm, int depth, bool dither); // @@ -63,7 +63,7 @@ public: // protected: - virtual QPixmap applyColorEffect (const QPixmap &pixmap); + virtual TQPixmap applyColorEffect (const TQPixmap &pixmap); int m_depth; bool m_dither; @@ -77,7 +77,7 @@ Q_OBJECT public: kpEffectReduceColorsWidget (bool actOnSelection, kpMainWindow *mainWindow, - QWidget *parent, const char *name = 0); + TQWidget *parent, const char *name = 0); virtual ~kpEffectReduceColorsWidget (); @@ -89,20 +89,20 @@ public: // kpColorEffectWidget interface // - virtual QString caption () const; + virtual TQString caption () const; virtual bool isNoOp () const; - virtual QPixmap applyColorEffect (const QPixmap &pixmap); + virtual TQPixmap applyColorEffect (const TQPixmap &pixmap); virtual kpColorEffectCommand *createCommand () const; protected: - QRadioButton *m_blackAndWhiteRadioButton, + TQRadioButton *m_blackAndWhiteRadioButton, *m_blackAndWhiteDitheredRadioButton, *m_8BitRadioButton, *m_8BitDitheredRadioButton, *m_24BitRadioButton; - QRadioButton *m_defaultRadioButton; + TQRadioButton *m_defaultRadioButton; }; -- cgit v1.2.1