summaryrefslogtreecommitdiffstats
path: root/kmymoney2/kstartuplogo.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
commitfecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch)
tree6b8614802f0d01b353bc9ba78aff2090846c198e /kmymoney2/kstartuplogo.h
parentdadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff)
downloadkmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.tar.gz
kmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.zip
TQt4 port kmymoney
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1239855 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmymoney2/kstartuplogo.h')
-rw-r--r--kmymoney2/kstartuplogo.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/kmymoney2/kstartuplogo.h b/kmymoney2/kstartuplogo.h
index 2d3b305..0f340f9 100644
--- a/kmymoney2/kstartuplogo.h
+++ b/kmymoney2/kstartuplogo.h
@@ -20,8 +20,8 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qwidget.h>
-#include <qguardedptr.h>
+#include <tqwidget.h>
+#include <tqguardedptr.h>
// ----------------------------------------------------------------------------
// KDE Includes
@@ -34,13 +34,14 @@
class KStartupSplash : public KSplashScreen
{
Q_OBJECT
+ TQ_OBJECT
public:
- KStartupSplash(const QPixmap &pixmap, WFlags f = 0);
+ KStartupSplash(const TQPixmap &pixmap, WFlags f = 0);
~KStartupSplash();
- void message( const QString &message, int alignment = AlignLeft, const QColor &color = black);
+ void message( const TQString &message, int tqalignment = AlignLeft, const TQColor &color = black);
protected:
- void drawContents(QPainter *p);
+ void drawContents(TQPainter *p);
private:
class Private;
@@ -48,15 +49,16 @@ class KStartupSplash : public KSplashScreen
};
// Simple class that just shows a picture
-class KStartupLogo : public QObject
+class KStartupLogo : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
KStartupLogo();
~KStartupLogo();
private:
- QGuardedPtr<QWidget> m_splash;
+ TQGuardedPtr<TQWidget> m_splash;
};
#endif