summaryrefslogtreecommitdiffstats
path: root/kweather/weatherbutton.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:49:52 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:49:52 +0000
commitcfc42a28c327b96c6a2afee92af3bac1a479eb8a (patch)
treee3219edf5f827eaa4db3feb509a17846a1a5a752 /kweather/weatherbutton.h
parenta73fc4d7e66fe0824313aa4e9a650c4cddef6e9f (diff)
downloadtdetoys-cfc42a28c327b96c6a2afee92af3bac1a479eb8a.tar.gz
tdetoys-cfc42a28c327b96c6a2afee92af3bac1a479eb8a.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1157650 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kweather/weatherbutton.h')
-rw-r--r--kweather/weatherbutton.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kweather/weatherbutton.h b/kweather/weatherbutton.h
index d846169..59f6f88 100644
--- a/kweather/weatherbutton.h
+++ b/kweather/weatherbutton.h
@@ -20,32 +20,32 @@
#ifndef WEATHERBUTTON_H
#define WEATHERBUTTON_H
-#include <qbutton.h>
-#include <qpixmap.h>
+#include <tqbutton.h>
+#include <tqpixmap.h>
class WeatherButton : public QButton
{
Q_OBJECT
public:
- WeatherButton( QWidget *parent, const char *name );
- void setPixmap( const QPixmap &pix );
+ WeatherButton( TQWidget *parent, const char *name );
+ void setPixmap( const TQPixmap &pix );
protected:
- void drawButton( QPainter *p );
- void drawButtonLabel( QPainter *p );
- QSize margin() const { return QSize( 3, 3 ); }
- QSize pixmapSize() const { return size() - margin()*2; }
- QPoint pixmapOrigin() const;
+ void drawButton( TQPainter *p );
+ void drawButtonLabel( TQPainter *p );
+ TQSize margin() const { return TQSize( 3, 3 ); }
+ TQSize pixmapSize() const { return size() - margin()*2; }
+ TQPoint pixmapOrigin() const;
void generateIcons();
- void enterEvent( QEvent *e );
- void leaveEvent( QEvent *e );
- void resizeEvent( QResizeEvent *e );
+ void enterEvent( TQEvent *e );
+ void leaveEvent( TQEvent *e );
+ void resizeEvent( TQResizeEvent *e );
bool m_highlight;
- QPixmap m_normalIcon;
- QPixmap m_activeIcon;
+ TQPixmap m_normalIcon;
+ TQPixmap m_activeIcon;
protected slots:
void slotSettingsChanged( int category );