summaryrefslogtreecommitdiffstats
path: root/src/docmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/docmanager.h')
-rw-r--r--src/docmanager.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/docmanager.h b/src/docmanager.h
index 0ba300e..36f7196 100644
--- a/src/docmanager.h
+++ b/src/docmanager.h
@@ -12,7 +12,7 @@
#define DOCMANAGER_H
#include <kurl.h>
-#include <qguardedptr.h>
+#include <tqguardedptr.h>
class CircuitDocument;
class DocManager;
@@ -27,16 +27,17 @@ class ViewArea;
class KAction;
-typedef QValueList<Document*> DocumentList;
-typedef QMap< KURL, Document* > URLDocumentMap;
-typedef QValueList<KAction*> KActionList;
+typedef TQValueList<Document*> DocumentList;
+typedef TQMap< KURL, Document* > URLDocumentMap;
+typedef TQValueList<KAction*> KActionList;
/**
@author David Saxton
*/
-class DocManager : public QObject
+class DocManager : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
static DocManager * self( KTechlab * ktechlab = 0l );
~DocManager();
@@ -67,7 +68,7 @@ public:
* of Document and whether it is the first one or not
* @param type Document::DocumentType - type of Document
*/
- QString untitledName( int type );
+ TQString untitledName( int type );
/**
* Checks to see if a document with the given URL is already open, and
* returns a pointer to that Document if so - otherwises returns null
@@ -125,7 +126,7 @@ protected slots:
* Does the appropriate enabling / disabling of actions, connections, etc
*/
void slotViewUnfocused();
- void documentDestroyed( QObject *obj );
+ void documentDestroyed( TQObject *obj );
protected:
/**
@@ -156,8 +157,8 @@ protected:
int m_countOther;
KTechlab * const p_ktechlab;
- QGuardedPtr<View> p_focusedView;
- QGuardedPtr<Document> p_connectedDocument;
+ TQGuardedPtr<View> p_focusedView;
+ TQGuardedPtr<Document> p_connectedDocument;
DocManagerIface *m_pIface;
unsigned m_nextDocumentID;