From 0525bd68b1324389d0825761afec5d2ed252a9a5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 21 Jul 2011 04:48:07 +0000 Subject: 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 --- src/theme.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/theme.h') 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 -#include +#include +#include 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 -- cgit v1.2.1