summaryrefslogtreecommitdiffstats
path: root/kdeprint/management/kmiconview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeprint/management/kmiconview.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/management/kmiconview.h')
-rw-r--r--kdeprint/management/kmiconview.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/kdeprint/management/kmiconview.h b/kdeprint/management/kmiconview.h
index 1cc8daa09..1c3aeb542 100644
--- a/kdeprint/management/kmiconview.h
+++ b/kdeprint/management/kmiconview.h
@@ -21,22 +21,22 @@
#define KMICONVIEW_H
#include <kiconview.h>
-#include <qptrlist.h>
+#include <tqptrlist.h>
#include "kmobject.h"
class KMPrinter;
-class KMIconViewItem : public QIconViewItem, public KMObject
+class KMIconViewItem : public TQIconViewItem, public KMObject
{
public:
- KMIconViewItem(QIconView *parent, KMPrinter *p);
- void updatePrinter(KMPrinter *printer = 0, int mode = QIconView::Bottom);
+ KMIconViewItem(TQIconView *parent, KMPrinter *p);
+ void updatePrinter(KMPrinter *printer = 0, int mode = TQIconView::Bottom);
bool isClass() const { return m_isclass; }
protected:
- virtual void paintItem(QPainter*, const QColorGroup&);
- virtual void calcRect(const QString& text_ = QString::null);
+ virtual void paintItem(TQPainter*, const TQColorGroup&);
+ virtual void calcRect(const TQString& text_ = TQString::null);
private:
int m_mode;
@@ -51,27 +51,27 @@ class KMIconView : public KIconView
public:
enum ViewMode { Big, Small };
- KMIconView(QWidget *parent = 0, const char *name = 0);
+ KMIconView(TQWidget *parent = 0, const char *name = 0);
~KMIconView();
- void setPrinterList(QPtrList<KMPrinter> *list);
- void setPrinter(const QString&);
+ void setPrinterList(TQPtrList<KMPrinter> *list);
+ void setPrinter(const TQString&);
void setPrinter(KMPrinter*);
void setViewMode(ViewMode);
signals:
- void rightButtonClicked(const QString&, const QPoint&);
- void printerSelected(const QString&);
+ void rightButtonClicked(const TQString&, const TQPoint&);
+ void printerSelected(const TQString&);
protected slots:
- void slotRightButtonClicked(QIconViewItem*, const QPoint&);
+ void slotRightButtonClicked(TQIconViewItem*, const TQPoint&);
void slotSelectionChanged();
private:
KMIconViewItem* findItem(KMPrinter *p);
private:
- QPtrList<KMIconViewItem> m_items;
+ TQPtrList<KMIconViewItem> m_items;
ViewMode m_mode;
};