diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-21 04:48:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-21 04:48:07 +0000 |
commit | 0525bd68b1324389d0825761afec5d2ed252a9a5 (patch) | |
tree | 8a1cb1649c11510a8a8c9fbacc353bfdad74bad2 /src/theme.h | |
parent | 5cce0292935a57e7fab4417d428637fcb84315a9 (diff) | |
download | kbookreader-0525bd68b1324389d0825761afec5d2ed252a9a5.tar.gz kbookreader-0525bd68b1324389d0825761afec5d2ed252a9a5.zip |
TQt4 port kbookreader
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbookreader@1242484 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/theme.h')
-rw-r--r-- | src/theme.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/theme.h b/src/theme.h index fae0f45..c1f181c 100644 --- a/src/theme.h +++ b/src/theme.h @@ -20,8 +20,8 @@ #ifndef BOOKREADER_THEME_H #define BOOKREADER_THEME_H -#include <qstring.h> -#include <qpixmap.h> +#include <tqstring.h> +#include <tqpixmap.h> class Theme @@ -29,18 +29,18 @@ class Theme public: static Theme * self(); /// \brief Loads theme with given name. Default is "default". :) - void loadTheme(const QString& name = "default"); - const QPixmap & bgPixmap(QSize size = QSize(0,0)) const; - const QPixmap & bookmarkPixmap() const { return m_bookmarkPixmap; } - //const QFont & font() const {return m_font;} + void loadTheme(const TQString& name = "default"); + const TQPixmap & bgPixmap(TQSize size = TQSize(0,0)) const; + const TQPixmap & bookmarkPixmap() const { return m_bookmarkPixmap; } + //const TQFont & font() const {return m_font;} private: static Theme * theme; Theme(); Theme(const Theme &); Theme & operator = (const Theme&); - QPixmap m_bgPixmap; - mutable QPixmap m_bgResizedPixmap; - QPixmap m_bookmarkPixmap; + TQPixmap m_bgPixmap; + mutable TQPixmap m_bgResizedPixmap; + TQPixmap m_bookmarkPixmap; }; #endif |