diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-29 16:05:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-29 16:05:55 +0000 |
commit | 87a016680e3677da3993f333561e79eb0cead7d5 (patch) | |
tree | cbda2b4df8b8ee0d8d1617e6c75bec1e3ee0ccba /src/libraryitem.h | |
parent | 6ce3d1ad09c1096b5ed3db334e02859e45d5c32b (diff) | |
download | ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.tar.gz ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.zip |
TQt4 port ktechlab
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1238801 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/libraryitem.h')
-rw-r--r-- | src/libraryitem.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/libraryitem.h b/src/libraryitem.h index 1e6b429..040afa9 100644 --- a/src/libraryitem.h +++ b/src/libraryitem.h @@ -13,7 +13,7 @@ #include "item.h" -class QStringList; +class TQStringList; /** This holds details of an item - id, name, category it is displayed in in its @@ -39,16 +39,16 @@ class LibraryItem lit_subcircuit, lit_other }; - LibraryItem( QStringList idList, const QString &name, const QString &category, QPixmap icon, Type type, createItemPtr createItem ); - LibraryItem( QStringList idList, const QString &name, const QString &category, const QString &iconName, Type type, createItemPtr createItem ); - LibraryItem( QStringList idList, const QString &name, const QString &category, Type type, createItemPtr createItem ); + LibraryItem( TQStringList idList, const TQString &name, const TQString &category, TQPixmap icon, Type type, createItemPtr createItem ); + LibraryItem( TQStringList idList, const TQString &name, const TQString &category, const TQString &iconName, Type type, createItemPtr createItem ); + LibraryItem( TQStringList idList, const TQString &name, const TQString &category, Type type, createItemPtr createItem ); - QString activeID() const; - QStringList allIDs() const { return m_idList; } - QString name() const { return m_name; } - QString category() const { return m_category; } - QPixmap iconFull() const { return m_icon_full; } - QPixmap icon16() const { return m_icon_16; } + TQString activeID() const; + TQStringList allIDs() const { return m_idList; } + TQString name() const { return m_name; } + TQString category() const { return m_category; } + TQPixmap iconFull() const { return m_icon_full; } + TQPixmap icon16() const { return m_icon_16; } createItemPtr createItemFnPtr() const { return createItem; } int type() const { return m_type; } @@ -56,14 +56,14 @@ class LibraryItem void createIcon16(); private: - QStringList m_idList; - QString m_name; - QString m_category; - QPixmap m_icon_full; - QPixmap m_icon_16; + TQStringList m_idList; + TQString m_name; + TQString m_category; + TQPixmap m_icon_full; + TQPixmap m_icon_16; createItemPtr createItem; int m_type; }; -typedef QValueList<LibraryItem*> LibraryItemList; +typedef TQValueList<LibraryItem*> LibraryItemList; #endif |