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/kpselectiondrag.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kolourpaint/kpselectiondrag.h') diff --git a/kolourpaint/kpselectiondrag.h b/kolourpaint/kpselectiondrag.h index 5aae82d9..e2b81e62 100644 --- a/kolourpaint/kpselectiondrag.h +++ b/kolourpaint/kpselectiondrag.h @@ -29,7 +29,7 @@ #ifndef __kp_selection_drag_h__ #define __kp_selection_drag_h__ -#include +#include #include #include @@ -40,9 +40,9 @@ class kpSelectionDrag : public QImageDrag Q_OBJECT public: - kpSelectionDrag (QWidget *dragSource = 0, const char *name = 0); - kpSelectionDrag (const QImage &image, QWidget *dragSource = 0, const char *name = 0); - kpSelectionDrag (const kpSelection &sel, QWidget *dragSource = 0, const char *name = 0); + kpSelectionDrag (TQWidget *dragSource = 0, const char *name = 0); + kpSelectionDrag (const TQImage &image, TQWidget *dragSource = 0, const char *name = 0); + kpSelectionDrag (const kpSelection &sel, TQWidget *dragSource = 0, const char *name = 0); virtual ~kpSelectionDrag (); static const char * const selectionMimeType; @@ -55,11 +55,11 @@ protected: public: virtual const char *format (int which = 0) const; virtual bool provides (const char *mimeType) const; - virtual QByteArray encodedData (const char *mimeType) const; + virtual TQByteArray encodedData (const char *mimeType) const; - static bool canDecode (const QMimeSource *e); - static bool decode (const QMimeSource *e, QImage &img); - static bool decode (const QMimeSource *e, kpSelection &sel, + static bool canDecode (const TQMimeSource *e); + static bool decode (const TQMimeSource *e, TQImage &img); + static bool decode (const TQMimeSource *e, kpSelection &sel, const kpPixmapFX::WarnAboutLossInfo &wali = kpPixmapFX::WarnAboutLossInfo ()); -- cgit v1.2.1