summaryrefslogtreecommitdiffstats
path: root/libkonq/konq_filetip.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /libkonq/konq_filetip.h
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkonq/konq_filetip.h')
-rw-r--r--libkonq/konq_filetip.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/libkonq/konq_filetip.h b/libkonq/konq_filetip.h
index fc878c074..667204e6c 100644
--- a/libkonq/konq_filetip.h
+++ b/libkonq/konq_filetip.h
@@ -22,8 +22,8 @@
#ifndef KONQ_FILETIP_H
#define KONQ_FILETIP_H
-#include <qframe.h>
-#include <qpixmap.h>
+#include <tqframe.h>
+#include <tqpixmap.h>
#include <kio/previewjob.h>
#include <libkonq_export.h>
@@ -40,7 +40,7 @@ class LIBKONQ_EXPORT KonqFileTip : public QFrame
Q_OBJECT
public:
- KonqFileTip( QScrollView *parent );
+ KonqFileTip( TQScrollView *parent );
~KonqFileTip();
void setPreview(bool on);
@@ -57,17 +57,17 @@ class LIBKONQ_EXPORT KonqFileTip : public QFrame
@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( KFileItem *item, const QRect &rect = QRect(),
- const QPixmap *pixmap = 0 );
+ void setItem( KFileItem *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 +79,19 @@ class LIBKONQ_EXPORT KonqFileTip : public QFrame
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;
KFileItem* m_item;
KIO::PreviewJob* m_previewJob;
- QRect m_rect;
- QTimer* m_timer;
+ TQRect m_rect;
+ TQTimer* m_timer;
};
#endif