summaryrefslogtreecommitdiffstats
path: root/knewsticker/common/newsiconmgr.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /knewsticker/common/newsiconmgr.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knewsticker/common/newsiconmgr.h')
-rw-r--r--knewsticker/common/newsiconmgr.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/knewsticker/common/newsiconmgr.h b/knewsticker/common/newsiconmgr.h
index e4c6b657..30071155 100644
--- a/knewsticker/common/newsiconmgr.h
+++ b/knewsticker/common/newsiconmgr.h
@@ -11,8 +11,8 @@
#ifndef NEWSICONMGR_H
#define NEWSICONMGR_H
-#include <qobject.h>
-#include <qpixmap.h>
+#include <tqobject.h>
+#include <tqpixmap.h>
#include <dcopobject.h>
#include <kio/job.h>
@@ -21,9 +21,9 @@
class DCOPClient;
struct KIODownload;
-typedef QMap<KIO::Job *, KIODownload> KIODownloadMap;
+typedef TQMap<KIO::Job *, KIODownload> KIODownloadMap;
-class NewsIconMgr : public QObject, public DCOPObject
+class NewsIconMgr : public TQObject, public DCOPObject
{
Q_OBJECT
K_DCOP
@@ -32,26 +32,26 @@ class NewsIconMgr : public QObject, public DCOPObject
static NewsIconMgr *self();
void getIcon(const KURL &);
- bool isStdIcon(const QPixmap &) const;
+ bool isStdIcon(const TQPixmap &) const;
k_dcop:
- void slotGotIcon(bool, QString, QString);
+ void slotGotIcon(bool, TQString, TQString);
signals:
- void gotIcon(const KURL &, const QPixmap &);
+ void gotIcon(const KURL &, const TQPixmap &);
protected:
- NewsIconMgr(QObject * = 0L, const char * = 0L);
+ NewsIconMgr(TQObject * = 0L, const char * = 0L);
~NewsIconMgr();
private slots:
- void slotData(KIO::Job *, const QByteArray &);
+ void slotData(KIO::Job *, const TQByteArray &);
void slotResult(KIO::Job *);
private:
- QString favicon(const KURL &) const;
+ TQString favicon(const KURL &) const;
- QPixmap m_stdIcon;
+ TQPixmap m_stdIcon;
KIODownloadMap m_kioDownload;
static NewsIconMgr *m_instance;