summaryrefslogtreecommitdiffstats
path: root/src/svnfrontend/svnfiletip.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/svnfrontend/svnfiletip.h')
-rw-r--r--src/svnfrontend/svnfiletip.h39
1 files changed, 20 insertions, 19 deletions
diff --git a/src/svnfrontend/svnfiletip.h b/src/svnfrontend/svnfiletip.h
index d63cf97..e275d2d 100644
--- a/src/svnfrontend/svnfiletip.h
+++ b/src/svnfrontend/svnfiletip.h
@@ -24,24 +24,25 @@
#ifndef SVNFILETIP_H
#define SVNFILETIP_H
-#include <qframe.h>
-#include <qpixmap.h>
+#include <tqframe.h>
+#include <tqpixmap.h>
#include <kio/previewjob.h>
class KFileItem;
-class QLabel;
-class QScrollView;
-class QTimer;
+class TQLabel;
+class TQScrollView;
+class TQTimer;
class SvnItem;
/**
@author Rajko Albrecht
*/
-class SvnFileTip : public QFrame
+class SvnFileTip : public TQFrame
{
Q_OBJECT
+ TQ_OBJECT
public:
- SvnFileTip(QScrollView*parent);
+ SvnFileTip(TQScrollView*tqparent);
virtual ~SvnFileTip();
void setPreview(bool on);
@@ -57,17 +58,17 @@ public:
@param rect the rectangle around which the tip will be shown
@param pixmap the pixmap to be shown. If 0, no pixmap is shown
*/
- void setItem(SvnItem*item, const QRect &rect = QRect(),
- const QPixmap *pixmap = 0 );
+ void setItem(SvnItem*item, const TQRect &rect = TQRect(),
+ const TQPixmap *pixmap = 0 );
- virtual bool eventFilter( QObject *, QEvent *e );
+ virtual bool eventFilter( TQObject *, TQEvent *e );
protected:
- virtual void drawContents( QPainter *p );
- virtual void resizeEvent( QResizeEvent * );
+ virtual void drawContents( TQPainter *p );
+ virtual void resizeEvent( TQResizeEvent * );
private slots:
- void gotPreview( const KFileItem*, const QPixmap& );
+ void gotPreview( const KFileItem*, const TQPixmap& );
void gotPreviewResult();
void startDelayed();
@@ -79,19 +80,19 @@ public:
void reposition();
- QLabel* m_iconLabel;
- QLabel* m_textLabel;
+ TQLabel* m_iconLabel;
+ TQLabel* m_textLabel;
bool m_on : 1;
bool m_preview : 1; // shall the preview icon be shown
bool m_filter : 1;
- QPixmap m_corners[4];
+ TQPixmap m_corners[4];
int m_corner;
int m_num;
- QScrollView* m_view;
+ TQScrollView* m_view;
SvnItem* m_svnitem;
KIO::PreviewJob* m_previewJob;
- QRect m_rect;
- QTimer* m_timer;
+ TQRect m_rect;
+ TQTimer* m_timer;
};
#endif