From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeui/kcolordrag.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'kdeui/kcolordrag.h') diff --git a/kdeui/kcolordrag.h b/kdeui/kcolordrag.h index 696d8a7ab..7f0cd1ba3 100644 --- a/kdeui/kcolordrag.h +++ b/kdeui/kcolordrag.h @@ -22,8 +22,8 @@ #ifndef _KCOLORDRAG_H #define _KCOLORDRAG_H -#include -#include +#include +#include #include class KColorDragPrivate; @@ -33,42 +33,42 @@ class KColorDragPrivate; * * See the Qt drag'n'drop documentation. */ -class KDEUI_EXPORT KColorDrag : public QStoredDrag { +class KDEUI_EXPORT KColorDrag : public TQStoredDrag { Q_OBJECT public: /** * Constructs a color drag with a white color. */ - KColorDrag( QWidget *dragsource = 0, const char *name = 0 ); + KColorDrag( TQWidget *dragsource = 0, const char *name = 0 ); /** * Constructs a color drag with the color @p col. */ - KColorDrag( const QColor &col, QWidget *dragsource = 0, const char *name = 0 ); + KColorDrag( const TQColor &col, TQWidget *dragsource = 0, const char *name = 0 ); virtual ~KColorDrag() {} virtual const char *format(int i) const; - virtual QByteArray encodedData ( const char * m ) const; + virtual TQByteArray encodedData ( const char * m ) const; /** * Sets the color of the drag to @p col. */ - void setColor(const QColor &col); + void setColor(const TQColor &col); /** * Returns true if the MIME source @p e contains a color object. */ - static bool canDecode(QMimeSource *e); + static bool canDecode(TQMimeSource *e); /** * Decodes the MIME source @p e and puts the resulting color into @p col. */ - static bool decode(QMimeSource *e, QColor &col); + static bool decode(TQMimeSource *e, TQColor &col); /** * @deprecated This is equivalent with "new KColorDrag(color, dragsource)". */ - static KColorDrag* makeDrag( const QColor&,QWidget *dragsource) KDE_DEPRECATED; + static KColorDrag* makeDrag( const TQColor&,TQWidget *dragsource) KDE_DEPRECATED; private: - QColor m_color; // unused + TQColor m_color; // unused protected: virtual void virtual_hook( int id, void* data ); private: -- cgit v1.2.1