diff options
Diffstat (limited to 'krita/sdk/kis_global.h')
-rw-r--r-- | krita/sdk/kis_global.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/krita/sdk/kis_global.h b/krita/sdk/kis_global.h index 31a982da..7e00668a 100644 --- a/krita/sdk/kis_global.h +++ b/krita/sdk/kis_global.h @@ -22,23 +22,23 @@ #include <config.h> #include LCMS_HEADER #include <limits.h> -#include <qglobal.h> +#include <tqglobal.h> #include <kglobal.h> #define KRITA_VERSION VERSION -const Q_UINT8 Q_UINT8_MAX = UCHAR_MAX; -const Q_UINT16 Q_UINT16_MAX = 65535; +const TQ_UINT8 TQ_UINT8_MAX = UCHAR_MAX; +const TQ_UINT16 TQ_UINT16_MAX = 65535; -const Q_INT32 Q_INT32_MAX = (2147483647); -const Q_INT32 Q_INT32_MIN = (-2147483647-1); +const TQ_INT32 TQ_INT32_MAX = (2147483647); +const TQ_INT32 TQ_INT32_MIN = (-2147483647-1); -const Q_UINT8 OPACITY_TRANSPARENT = 0; -const Q_UINT8 OPACITY_OPAQUE = UCHAR_MAX; +const TQ_UINT8 OPACITY_TRANSPARENT = 0; +const TQ_UINT8 OPACITY_OPAQUE = UCHAR_MAX; -const Q_UINT8 MAX_SELECTED = UCHAR_MAX; -const Q_UINT8 MIN_SELECTED = 0; -const Q_UINT8 SELECTION_THRESHOLD = 1; +const TQ_UINT8 MAX_SELECTED = UCHAR_MAX; +const TQ_UINT8 MIN_SELECTED = 0; +const TQ_UINT8 SELECTION_THRESHOLD = 1; enum enumCursorStyle { CURSOR_STYLE_TOOLICON = 0, @@ -55,11 +55,11 @@ enum enumResourceTypes { }; /* - * Most wacom pads have 512 levels of pressure; Qt only supports 256, and even + * Most wacom pads have 512 levels of pressure; TQt only supports 256, and even * this is downscaled to 127 levels because the line would be too jittery, and - * the amount of masks take too much memory otherwise. + * the amount of tqmasks take too much memory otherwise. */ -const Q_INT32 PRESSURE_LEVELS= 127; +const TQ_INT32 PRESSURE_LEVELS= 127; const double PRESSURE_MIN = 0.0; const double PRESSURE_MAX = 1.0; const double PRESSURE_DEFAULT = (PRESSURE_MAX - PRESSURE_MIN) / 2; @@ -71,12 +71,12 @@ const double PRESSURE_THRESHOLD = 5.0 / 255.0; namespace krita { // String constants for palettes and palette widgets - const QString TOOL_OPTION_WIDGET ("tooloptions"); + const TQString TOOL_OPTION_WIDGET ("tooloptions"); - const QString CONTROL_PALETTE ("controlpalette"); - const QString PAINTBOX ("paintbox"); - const QString COLORBOX ("colorbox"); - const QString LAYERBOX ("layerbox"); + const TQString CONTROL_PALETTE ("controlpalette"); + const TQString PAINTBOX ("paintbox"); + const TQString COLORBOX ("colorbox"); + const TQString LAYERBOX ("layerbox"); } #endif // KISGLOBAL_H_ |