summaryrefslogtreecommitdiffstats
path: root/kate/app/katedocmanager.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kate/app/katedocmanager.h
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/app/katedocmanager.h')
-rw-r--r--kate/app/katedocmanager.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/kate/app/katedocmanager.h b/kate/app/katedocmanager.h
index 45931b655..b35d0a65f 100644
--- a/kate/app/katedocmanager.h
+++ b/kate/app/katedocmanager.h
@@ -25,14 +25,14 @@
#include <kate/document.h>
-#include <qdatetime.h>
-#include <qguardedptr.h>
-#include <qptrlist.h>
-#include <qobject.h>
-#include <qptrdict.h>
-#include <qintdict.h>
-#include <qmap.h>
-#include <qpair.h>
+#include <tqdatetime.h>
+#include <tqguardedptr.h>
+#include <tqptrlist.h>
+#include <tqobject.h>
+#include <tqptrdict.h>
+#include <tqintdict.h>
+#include <tqmap.h>
+#include <tqpair.h>
namespace KParts { class Factory; }
@@ -52,14 +52,14 @@ class KateDocumentInfo
unsigned char modifiedOnDiscReason;
};
-typedef QPair<KURL,QDateTime> TPair;
+typedef QPair<KURL,TQDateTime> TPair;
class KateDocManager : public QObject
{
Q_OBJECT
public:
- KateDocManager (QObject *parent);
+ KateDocManager (TQObject *parent);
~KateDocManager ();
static KateDocManager *self ();
@@ -92,16 +92,16 @@ class KateDocManager : public QObject
uint documents ();
- QPtrList<Kate::Document> &documentList () { return m_docList; };
+ TQPtrList<Kate::Document> &documentList () { return m_docList; };
- Kate::Document *openURL(const KURL&,const QString &encoding=QString::null,uint *id =0,bool isTempFile=false);
+ Kate::Document *openURL(const KURL&,const TQString &encoding=TQString::null,uint *id =0,bool isTempFile=false);
bool closeDocument(class Kate::Document *,bool closeURL=true);
bool closeDocument(uint);
bool closeDocumentWithID(uint);
bool closeAllDocuments(bool closeURL=true);
- QPtrList<Kate::Document> modifiedDocumentList();
+ TQPtrList<Kate::Document> modifiedDocumentList();
bool queryCloseDocuments(KateMainWindow *w);
void saveDocumentList (class KConfig *config);
@@ -135,14 +135,14 @@ class KateDocManager : public QObject
private:
bool loadMetaInfos(Kate::Document *doc, const KURL &url);
void saveMetaInfos(Kate::Document *doc);
- bool computeUrlMD5(const KURL &url, QCString &result);
+ bool computeUrlMD5(const KURL &url, TQCString &result);
Kate::DocumentManager *m_documentManager;
- QPtrList<Kate::Document> m_docList;
- QIntDict<Kate::Document> m_docDict;
- QPtrDict<KateDocumentInfo> m_docInfos;
- QMap<uint,TPair> m_tempFiles;
- QGuardedPtr<Kate::Document> m_currentDoc;
+ TQPtrList<Kate::Document> m_docList;
+ TQIntDict<Kate::Document> m_docDict;
+ TQPtrDict<KateDocumentInfo> m_docInfos;
+ TQMap<uint,TPair> m_tempFiles;
+ TQGuardedPtr<Kate::Document> m_currentDoc;
KConfig *m_metaInfos;
bool m_saveMetaInfos;
int m_daysMetaInfos;