summaryrefslogtreecommitdiffstats
path: root/src/core/netaccess.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
commit2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 (patch)
tree18a8f0f4ac5a86dacfa74c3537551ec39bc85e75 /src/core/netaccess.h
parent1d90725a4001fab9d3922b2cbcceeee5e2d1686f (diff)
downloadtellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.tar.gz
tellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.zip
TQt4 port tellico
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1239054 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/core/netaccess.h')
-rw-r--r--src/core/netaccess.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/core/netaccess.h b/src/core/netaccess.h
index df11e0d..f793674 100644
--- a/src/core/netaccess.h
+++ b/src/core/netaccess.h
@@ -14,8 +14,8 @@
#ifndef TELLICO_NETACCESS_H
#define TELLICO_NETACCESS_H
-#include <qobject.h>
-#include <qpixmap.h>
+#include <tqobject.h>
+#include <tqpixmap.h>
class KURL;
class KFileItem;
@@ -25,22 +25,23 @@ namespace KIO {
namespace Tellico {
-class NetAccess : public QObject {
+class NetAccess : public TQObject {
Q_OBJECT
+ TQ_OBJECT
public:
- static bool download(const KURL& u, QString& target, QWidget* window);
- static void removeTempFile(const QString& name);
- static QPixmap filePreview(const KURL& fileName, int size=196);
- static QPixmap filePreview(KFileItem* item, int size=196);
+ static bool download(const KURL& u, TQString& target, TQWidget* window);
+ static void removeTempFile(const TQString& name);
+ static TQPixmap filePreview(const KURL& fileName, int size=196);
+ static TQPixmap filePreview(KFileItem* item, int size=196);
private slots:
- void slotPreview(const KFileItem* item, const QPixmap& pix);
+ void slotPreview(const KFileItem* item, const TQPixmap& pix);
private:
- static QStringList* s_tmpFiles;
+ static TQStringList* s_tmpFiles;
- QPixmap m_preview;
+ TQPixmap m_preview;
};
}