summaryrefslogtreecommitdiffstats
path: root/lib/store/KoStoreDrag.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /lib/store/KoStoreDrag.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-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 'lib/store/KoStoreDrag.h')
-rw-r--r--lib/store/KoStoreDrag.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/store/KoStoreDrag.h b/lib/store/KoStoreDrag.h
index 0e3939d49..cbd8c40de 100644
--- a/lib/store/KoStoreDrag.h
+++ b/lib/store/KoStoreDrag.h
@@ -20,20 +20,20 @@
#ifndef koStoreDrag_h
#define koStoreDrag_h
-#include <qdragobject.h>
+#include <tqdragobject.h>
#include <koffice_export.h>
/**
* A generic drag object that holds a store (e.g. KoZipStore) in memory.
* This allows to drag-n-drop and copy-paste complex koffice objects.
* As per usual with dragobjects, an instance of KoStoreDrag must be
* created on the "sending" side (dragging or copying). The "receiving"
- * side (dropping or pasting) only uses provides()/canDecode() and encodedData().
+ * side (dropping or pasting) only uses provides()/canDecode() and tqencodedData().
*
- * To create the data in memory, create a QBuffer,
+ * To create the data in memory, create a TQBuffer,
* then KoStore::createStore( theBuffer, .... ), save the
* data into the store and delete it. Finally, call setEncodedData().
*/
-class KOSTORE_EXPORT KoStoreDrag : public QStoredDrag
+class KOSTORE_EXPORT KoStoreDrag : public TQStoredDrag
{
public:
/** Constructor.
@@ -41,15 +41,15 @@ public:
* @param dragSource must be 0 when copying to the clipboard.
* @param name object name for this drag.
*/
- KoStoreDrag( const char* nativeMimeType, QWidget *dragSource = 0L, const char *name = 0L );
+ KoStoreDrag( const char* nativeMimeType, TQWidget *dragSource = 0L, const char *name = 0L );
- static bool canDecode( const char* nativeMimeType, QMimeSource* e );
+ static bool canDecode( const char* nativeMimeType, TQMimeSource* e );
/**
* Returns the mimetype of the clipboard data for a given application,
* depending on the application's native mimetype.
*/
- static QCString mimeType( const char* nativeMimeType );
+ static TQCString mimeType( const char* nativeMimeType );
};
#endif