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/kiviosdk/kivio_stencil_spawner_set.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/kiviosdk/kivio_stencil_spawner_set.h')
-rw-r--r-- | kivio/kiviopart/kiviosdk/kivio_stencil_spawner_set.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/kivio/kiviopart/kiviosdk/kivio_stencil_spawner_set.h b/kivio/kiviopart/kiviosdk/kivio_stencil_spawner_set.h index 717fdd72..9b215560 100644 --- a/kivio/kiviopart/kiviosdk/kivio_stencil_spawner_set.h +++ b/kivio/kiviopart/kiviosdk/kivio_stencil_spawner_set.h @@ -19,57 +19,57 @@ #ifndef KIVIO_STENCIL_SPAWNER_SET_H #define KIVIO_STENCIL_SPAWNER_SET_H -#include <qptrlist.h> -#include <qdom.h> +#include <tqptrlist.h> +#include <tqdom.h> class KivioStencilSpawner; -class QStringList; +class TQStringList; class KivioStencilSpawnerSet { protected: - QString m_dir; - QString m_name; - QString m_id; + TQString m_dir; + TQString m_name; + TQString m_id; - QStringList m_files; + TQStringList m_files; - QPtrList<KivioStencilSpawner> *m_pSpawners; + TQPtrList<KivioStencilSpawner> *m_pSpawners; KivioStencilSpawner *m_pSelected; bool m_hidden; public: - KivioStencilSpawnerSet(const QString& name=QString::null); + KivioStencilSpawnerSet(const TQString& name=TQString()); virtual ~KivioStencilSpawnerSet(); - bool loadDir( const QString & ); - KivioStencilSpawner* loadFile( const QString & ); + bool loadDir( const TQString & ); + KivioStencilSpawner* loadFile( const TQString & ); - bool loadXML( const QDomElement & ); - QDomElement saveXML( QDomDocument & ); + bool loadXML( const TQDomElement & ); + TQDomElement saveXML( TQDomDocument & ); - QPtrList<KivioStencilSpawner> *spawners() { return m_pSpawners; } + TQPtrList<KivioStencilSpawner> *spawners() { return m_pSpawners; } KivioStencilSpawner *selected() { return m_pSelected; } - QString dir() { return m_dir; } - QString name() { return m_name; } - QString id() { return m_id; } + TQString dir() { return m_dir; } + TQString name() { return m_name; } + TQString id() { return m_id; } - void setDir( const QString &s ) { m_dir=s; } - void setName( const QString &s ) { m_name=s; } - void setId( const QString &s ) { m_id=s; } + void setDir( const TQString &s ) { m_dir=s; } + void setName( const TQString &s ) { m_name=s; } + void setId( const TQString &s ) { m_id=s; } KivioStencilSpawner *spawnerAt( int i ) { return m_pSpawners->at(i); } - KivioStencilSpawner *find( const QString& ); + KivioStencilSpawner *tqfind( const TQString& ); int count() { return m_pSpawners->count(); } - static QString readTitle( const QString & ); - static QString readId( const QString & ); - static QString readDescription(const QString&); + static TQString readTitle( const TQString & ); + static TQString readId( const TQString & ); + static TQString readDescription(const TQString&); - QStringList files() const { return m_files; } + TQStringList files() const { return m_files; } void addSpawner(KivioStencilSpawner* spawner); |