summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/kivio_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/kiviopart/kivio_map.h')
-rw-r--r--kivio/kiviopart/kivio_map.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/kivio/kiviopart/kivio_map.h b/kivio/kiviopart/kivio_map.h
index 4db3c1c2..f36e740a 100644
--- a/kivio/kiviopart/kivio_map.h
+++ b/kivio/kiviopart/kivio_map.h
@@ -27,20 +27,20 @@ class KoStore;
class KoXmlWriter;
class KoGenStyles;
-class QDomElement;
-class QDomDocument;
+class TQDomElement;
+class TQDomDocument;
class DCOPObject;
-#include <qintdict.h>
-#include <qobject.h>
-#include <qptrlist.h>
-#include <qstringlist.h>
+#include <tqintdict.h>
+#include <tqobject.h>
+#include <tqptrlist.h>
+#include <tqstringlist.h>
/*
* A map is a simple container for all pages. Usually a complete map is saved in one file.
*/
-class KivioMap : public QObject
+class KivioMap : public TQObject
{
public:
/**
@@ -52,9 +52,9 @@ class KivioMap : public QObject
*/
virtual ~KivioMap();
- QDomElement save( QDomDocument& doc );
+ TQDomElement save( TQDomDocument& doc );
void saveOasis(KoStore* store, KoXmlWriter* docWriter, KoGenStyles* styles);
- bool loadXML( const QDomElement& mymap );
+ bool loadXML( const TQDomElement& mymap );
/**
* @param _page becomes added to the map.
@@ -69,9 +69,9 @@ class KivioMap : public QObject
* If @param _before is true @param _from is inserted before (after otherwise)
* @param _to.
*/
- void movePage( const QString & _from, const QString & _to, bool _before = true );
+ void movePage( const TQString & _from, const TQString & _to, bool _before = true );
- KivioPage* findPage( const QString& name );
+ KivioPage* findPage( const TQString& name );
/**
* Use the @ref #nextPage function to get all the other pages.
@@ -94,17 +94,17 @@ class KivioMap : public QObject
*/
KivioPage* nextPage();
- QPtrList<KivioPage>& pageList() { return m_lstPages; }
+ TQPtrList<KivioPage>& pageList() { return m_lstPages; }
/**
* Returns list of visible pages as stringlist.
*/
- QStringList visiblePages() const;
+ TQStringList visiblePages() const;
/**
* Returns list of hidden pages as stringlist.
*/
- QStringList hiddenPages() const;
+ TQStringList hiddenPages() const;
/**
* @return amount of pages in this map.
@@ -120,8 +120,8 @@ class KivioMap : public QObject
void clear();
private:
- QPtrList<KivioPage> m_lstPages;
- QPtrList<KivioPage> m_lstDeletedPages;
+ TQPtrList<KivioPage> m_lstPages;
+ TQPtrList<KivioPage> m_lstDeletedPages;
KivioDoc* m_pDoc;
DCOPObject* m_dcop;