summaryrefslogtreecommitdiffstats
path: root/kexi/widget/utils/kexidisplayutils.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kexi/widget/utils/kexidisplayutils.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
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
Diffstat (limited to 'kexi/widget/utils/kexidisplayutils.h')
-rw-r--r--kexi/widget/utils/kexidisplayutils.h18
1 files changed, 9 insertions, 9 deletions
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 <qfont.h>
-#include <qcolor.h>
-class QWidget;
+#include <tqfont.h>
+#include <tqcolor.h>
+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