summaryrefslogtreecommitdiffstats
path: root/kdesktop/kfileividesktop.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 /kdesktop/kfileividesktop.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 'kdesktop/kfileividesktop.h')
-rw-r--r--kdesktop/kfileividesktop.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kdesktop/kfileividesktop.h b/kdesktop/kfileividesktop.h
index c245a6800..32166d9d1 100644
--- a/kdesktop/kfileividesktop.h
+++ b/kdesktop/kfileividesktop.h
@@ -24,10 +24,10 @@
#ifndef KFILE_IVI_DESKTOP
#define KFILE_IVI_DESKTOP
-#include <qcolor.h>
-#include <qpixmap.h>
-#include <qimage.h>
-#include <qstring.h>
+#include <tqcolor.h>
+#include <tqpixmap.h>
+#include <tqimage.h>
+#include <tqstring.h>
#include <kfileivi.h>
/*
@@ -69,7 +69,7 @@ class KFileIVIDesktop : public KFileIVI
* Reimplements KIconView::calcRect to take the shadow metrics
* into account
*/
- virtual void calcRect( const QString& _text );
+ virtual void calcRect( const TQString& _text );
/**
* Paints this item. Takes care of using the normal or alpha
@@ -77,7 +77,7 @@ class KFileIVIDesktop : public KFileIVI
* @param p the painter for drawing the item
* @param cg the base color group
*/
- virtual void paintItem(QPainter *p, const QColorGroup &cg);
+ virtual void paintItem(TQPainter *p, const TQColorGroup &cg);
/**
@@ -85,7 +85,7 @@ class KFileIVIDesktop : public KFileIVI
* @param p the painter for drawing the item
* @param cg the base color group
*/
- virtual void drawShadowedText(QPainter *p, const QColorGroup &cg);
+ virtual void drawShadowedText(TQPainter *p, const TQColorGroup &cg);
/**
* Builds the shadow. As the algorithm is pretty slow (at pixel level),
@@ -94,14 +94,14 @@ class KFileIVIDesktop : public KFileIVI
* @param align the shadow alignment
* @param shadowColor the shadow color
*/
- virtual QImage *buildShadow(QPainter *p, const int align, QColor &shadowColor);
+ virtual TQImage *buildShadow(TQPainter *p, const int align, TQColor &shadowColor);
protected:
- void setNormalImage(QImage *newImage) { delete m_normalImage; m_normalImage = newImage; };
- void setSelectedImage(QImage *newImage) { delete m_selectedImage; m_selectedImage = newImage; };
+ void setNormalImage(TQImage *newImage) { delete m_normalImage; m_normalImage = newImage; };
+ void setSelectedImage(TQImage *newImage) { delete m_selectedImage; m_selectedImage = newImage; };
- QImage *normalImage() { return m_normalImage; };
- QImage *selectedImage() { return m_selectedImage; };
+ TQImage *normalImage() { return m_normalImage; };
+ TQImage *selectedImage() { return m_selectedImage; };
private:
bool shouldUpdateShadow(bool selected);
@@ -109,10 +109,10 @@ class KFileIVIDesktop : public KFileIVI
KShadowEngine *m_shadow;
- QImage *m_selectedImage;
- QImage *m_normalImage;
+ TQImage *m_selectedImage;
+ TQImage *m_normalImage;
- QString oldText;
+ TQString oldText;
unsigned long _selectedUID;
unsigned long _normalUID;