summaryrefslogtreecommitdiffstats
path: root/src/libraryitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libraryitem.cpp')
-rw-r--r--src/libraryitem.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/libraryitem.cpp b/src/libraryitem.cpp
index f7ba013..8301a24 100644
--- a/src/libraryitem.cpp
+++ b/src/libraryitem.cpp
@@ -13,9 +13,9 @@
#include <kiconloader.h>
#include <kicontheme.h>
#include <kstandarddirs.h>
-#include <qimage.h>
+#include <tqimage.h>
-LibraryItem::LibraryItem( QStringList idList, const QString &name, const QString &category, QPixmap icon, Type type, createItemPtr _createItem )
+LibraryItem::LibraryItem( TQStringList idList, const TQString &name, const TQString &category, TQPixmap icon, Type type, createItemPtr _createItem )
{
m_idList = idList;
m_name = name;
@@ -27,7 +27,7 @@ LibraryItem::LibraryItem( QStringList idList, const QString &name, const QString
}
-LibraryItem::LibraryItem( QStringList idList, const QString &name, const QString &category, const QString &iconName, Type type, createItemPtr _createItem )
+LibraryItem::LibraryItem( TQStringList idList, const TQString &name, const TQString &category, const TQString &iconName, Type type, createItemPtr _createItem )
{
m_idList = idList;
m_name = name;
@@ -39,7 +39,7 @@ LibraryItem::LibraryItem( QStringList idList, const QString &name, const QString
}
-LibraryItem::LibraryItem( QStringList idList, const QString &name, const QString &category, Type type, createItemPtr _createItem )
+LibraryItem::LibraryItem( TQStringList idList, const TQString &name, const TQString &category, Type type, createItemPtr _createItem )
{
m_idList = idList;
m_name = name;
@@ -70,12 +70,12 @@ void LibraryItem::createIcon16()
return;
}
- QImage im = m_icon_full.convertToImage();
- im = im.smoothScale( size, size, QImage::ScaleMin );
+ TQImage im = m_icon_full.convertToImage();
+ im = im.smoothScale( size, size, TQ_ScaleMin );
m_icon_16.convertFromImage(im);
}
-QString LibraryItem::activeID( ) const
+TQString LibraryItem::activeID( ) const
{
return m_idList.isEmpty() ? "" : m_idList[0];
}