diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /kolourpaint/kpselectiondrag.h | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip |
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kolourpaint/kpselectiondrag.h')
-rw-r--r-- | kolourpaint/kpselectiondrag.h | 16 |
1 files changed, 8 insertions, 8 deletions
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 <qdragobject.h> +#include <tqdragobject.h> #include <kppixmapfx.h> #include <kpselection.h> @@ -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 ()); |