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 /kivio/kiviopart/kivio_map.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 'kivio/kiviopart/kivio_map.h')
-rw-r--r-- | kivio/kiviopart/kivio_map.h | 32 |
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; |