From f008adb5a77e094eaf6abf3fc0f36958e66896a5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 25 Jun 2011 05:28:35 +0000 Subject: TQt4 port koffice This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kexi/widget/utils/kexidisplayutils.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'kexi/widget/utils/kexidisplayutils.h') diff --git a/kexi/widget/utils/kexidisplayutils.h b/kexi/widget/utils/kexidisplayutils.h index 8790b662..9d4974cd 100644 --- a/kexi/widget/utils/kexidisplayutils.h +++ b/kexi/widget/utils/kexidisplayutils.h @@ -20,9 +20,9 @@ #ifndef KEXIDISPUTILS_H #define KEXIDISPUTILS_H -#include -#include -class QWidget; +#include +#include +class TQWidget; //! \brief A set of utilities related to displaying common elements in Kexi, like e.g. (autonumber) sign class KEXIGUIUTILS_EXPORT KexiDisplayUtils @@ -36,22 +36,22 @@ class KEXIGUIUTILS_EXPORT KexiDisplayUtils DisplayParameters(); //! Copies properties from \a w. - DisplayParameters(QWidget *w); + DisplayParameters(TQWidget *w); - QColor textColor, selectedTextColor; - QFont font; + TQColor textColor, selectedTextColor; + TQFont font; int textWidth, textHeight; //!< used for "(autonumber)" text only }; //! Initializes display parameters for autonumber sign - static void initDisplayForAutonumberSign(DisplayParameters& par, QWidget *widget); + static void initDisplayForAutonumberSign(DisplayParameters& par, TQWidget *widget); //! Paints autonumber sign using \a par parameters - static void paintAutonumberSign(const DisplayParameters& par, QPainter* painter, + static void paintAutonumberSign(const DisplayParameters& par, TQPainter* painter, int x, int y, int width, int height, int align, bool overrideColor = false); //! Initializes display parameters for default value - static void initDisplayForDefaultValue(DisplayParameters& par, QWidget *widget); + static void initDisplayForDefaultValue(DisplayParameters& par, TQWidget *widget); }; #endif -- cgit v1.2.1