diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kdgantt/KDGanttViewItemDrag.h | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdgantt/KDGanttViewItemDrag.h')
-rw-r--r-- | kdgantt/KDGanttViewItemDrag.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kdgantt/KDGanttViewItemDrag.h b/kdgantt/KDGanttViewItemDrag.h index c017720e..a4d6cb6f 100644 --- a/kdgantt/KDGanttViewItemDrag.h +++ b/kdgantt/KDGanttViewItemDrag.h @@ -23,8 +23,8 @@ ** licensing are not clear to you. ** ** As a special exception, permission is given to link this program - ** with any edition of Qt, and distribute the resulting executable, - ** without including the source code for Qt in the source distribution. + ** with any edition of TQt, and distribute the resulting executable, + ** without including the source code for TQt in the source distribution. ** **********************************************************************/ @@ -32,26 +32,26 @@ #ifndef KDGANTTVIEWITEMGRAG_H #define KDGANTTVIEWITEMGRAG_H -#include <qwidget.h> -#include <qcstring.h> -#include <qdragobject.h> +#include <tqwidget.h> +#include <tqcstring.h> +#include <tqdragobject.h> class KDGanttViewItem; -class KDGanttViewItemDrag :public QStoredDrag +class KDGanttViewItemDrag :public TQStoredDrag { public: - KDGanttViewItemDrag(KDGanttViewItem* item, QWidget *source, const char * name ) ; + KDGanttViewItemDrag(KDGanttViewItem* item, TQWidget *source, const char * name ) ; - QByteArray encodedData( const char * c) const; + TQByteArray tqencodedData( const char * c) const; KDGanttViewItem* getItem(); - static bool canDecode ( const QMimeSource * e ); - static bool decode ( const QMimeSource * e, QString & ); + static bool canDecode ( const TQMimeSource * e ); + static bool decode ( const TQMimeSource * e, TQString & ); protected: private: - QByteArray array; + TQByteArray array; KDGanttViewItem* myItem; }; |