summaryrefslogtreecommitdiffstats
path: root/kexi/widget/utils/kexidisplayutils.h
diff options
context:
space:
mode:
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