summaryrefslogtreecommitdiffstats
path: root/kghostview/thumbnailservice.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kghostview/thumbnailservice.h
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kghostview/thumbnailservice.h')
-rw-r--r--kghostview/thumbnailservice.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kghostview/thumbnailservice.h b/kghostview/thumbnailservice.h
index d1981242..50bc2d6d 100644
--- a/kghostview/thumbnailservice.h
+++ b/kghostview/thumbnailservice.h
@@ -19,23 +19,23 @@
*/
#include <set>
-#include <qobject.h>
-#include <qpixmap.h>
-#include <qguardedptr.h>
+#include <tqobject.h>
+#include <tqpixmap.h>
+#include <tqguardedptr.h>
#include <stdio.h>
class KPSWidget;
class KGVMiniWidget;
-class QTimer;
+class TQTimer;
-class ThumbnailService : public QObject {
+class ThumbnailService : public TQObject {
Q_OBJECT
public:
ThumbnailService( KGVMiniWidget* parent, const char* name = 0 );
~ThumbnailService();
public slots:
- void delayedGetThumbnail( int page, QObject* receiver, const char* slot, bool urgent = false );
+ void delayedGetThumbnail( int page, TQObject* receiver, const char* slot, bool urgent = false );
/**
* Cancels the request matching the signature below.
*
@@ -43,7 +43,7 @@ class ThumbnailService : public QObject {
* @param receiver the receiver. Use null for wildcard
* @param slot Use null for wildcard
*/
- void cancelRequests( int page, QObject* receiver, const char* slot);
+ void cancelRequests( int page, TQObject* receiver, const char* slot);
void reset();
/**
@@ -58,31 +58,31 @@ class ThumbnailService : public QObject {
/**
* Don't connect to this directly
*/
- void relayPixmap( QPixmap );
+ void relayPixmap( TQPixmap );
private slots:
- void slotDone( QPixmap );
+ void slotDone( TQPixmap );
void processOne();
private:
struct Request {
- Request( int p, QObject* r, const char* s ) :
+ Request( int p, TQObject* r, const char* s ) :
page( p ), receiver( r ), slot( s ), urgent( false ) { }
- Request( int p, QObject* r, const char* s, bool u ) :
+ Request( int p, TQObject* r, const char* s, bool u ) :
page( p ), receiver( r ), slot( s ), urgent( u ) { }
int page;
- QObject* receiver;
+ TQObject* receiver;
const char* slot;
bool urgent;
bool operator < ( Request ) const;
};
static bool pageCmp( Request, Request );
std::set<Request> pending;
- QGuardedPtr<KPSWidget> _thumbnailDrawer;
+ TQGuardedPtr<KPSWidget> _thumbnailDrawer;
KGVMiniWidget* _mini;
- QTimer* timer_;
+ TQTimer* timer_;
bool _busy;
bool _enabled;
};