summaryrefslogtreecommitdiffstats
path: root/src/libraryitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libraryitem.h')
-rw-r--r--src/libraryitem.h32
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