summaryrefslogtreecommitdiffstats
path: root/src/komposesettings.h
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-03-30 14:11:34 +0300
committerMavridis Philippe <mavridisf@gmail.com>2021-03-30 14:11:34 +0300
commitd991b7f387775dc1071fb0c0af78de1c613ca991 (patch)
treeeb7c978130acb1b2c93eeea98be2f647372c6fac /src/komposesettings.h
parent1bd3c5b42f1570b2100a4986f638f2723ee37ec4 (diff)
downloadkompose-d991b7f387775dc1071fb0c0af78de1c613ca991.tar.gz
kompose-d991b7f387775dc1071fb0c0af78de1c613ca991.zip
Qt3->TQt conversion.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/komposesettings.h')
-rw-r--r--src/komposesettings.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/src/komposesettings.h b/src/komposesettings.h
index 4056dd4..c6da44a 100644
--- a/src/komposesettings.h
+++ b/src/komposesettings.h
@@ -12,26 +12,26 @@
#ifndef KOMPOSESETTINGS_H
#define KOMPOSESETTINGS_H
-#include <qobject.h>
-#include <qcolor.h>
-#include <qfont.h>
+#include <tqobject.h>
+#include <tqcolor.h>
+#include <tqfont.h>
#define MAX_DESKTOPS 16
enum KomposeDisplay { KOMPOSEDISPLAY_WORLD, KOMPOSEDISPLAY_VIRTUALDESKS, KOMPOSEDISPLAY_CURRENTDESK };
class KGlobalAccel;
-class QFontMetrics;
+class TQFontMetrics;
/**
@author Hans Oischinger
*/
-class KomposeSettings : public QObject
+class KomposeSettings : public TQObject
{
Q_OBJECT
protected:
- KomposeSettings(QObject *parent = 0, const char *name = 0);
+ KomposeSettings(TQObject *parent = 0, const char *name = 0);
~KomposeSettings();
@@ -63,27 +63,27 @@ public:
void setShowIcons( bool b ) { showIcons = b; }
int getIconSizePixels();
- void setWindowTitleFont( QFont f ) { windowTitleFont = f; }
- const QFont& getWindowTitleFont() const { return windowTitleFont; }
+ void setWindowTitleFont( TQFont f ) { windowTitleFont = f; }
+ const TQFont& getWindowTitleFont() const { return windowTitleFont; }
int getShowWindowTitles() { return showWindowTitles; }
void setShowWindowTitles( bool b ) { showWindowTitles = b; }
int getShowWindowTitleShadow() { return showWindowTitleShadow; }
void setShowWindowTitleShadow( bool b ) { showWindowTitleShadow = b; }
- const QColor& getWindowTitleFontColor() const { return windowTitleFontColor; }
- void setWindowTitleFontColor( QColor c ) { windowTitleFontColor = c; }
- const QColor& getWindowTitleFontShadowColor() const { return windowTitleFontShadowColor; }
- void setWindowTitleFontShadowColor( QColor c ) { windowTitleFontShadowColor = c; }
+ const TQColor& getWindowTitleFontColor() const { return windowTitleFontColor; }
+ void setWindowTitleFontColor( TQColor c ) { windowTitleFontColor = c; }
+ const TQColor& getWindowTitleFontShadowColor() const { return windowTitleFontShadowColor; }
+ void setWindowTitleFontShadowColor( TQColor c ) { windowTitleFontShadowColor = c; }
- const QFontMetrics* getWindowTitleFontMetrics() { return windowTitleFontMetrics; }
+ const TQFontMetrics* getWindowTitleFontMetrics() { return windowTitleFontMetrics; }
int getWindowTitleFontAscent() { return windowTitleFontAscent; }
int getWindowTitleFontHeight() { return windowTitleFontHeight; }
- void setDesktopTitleFont( QFont f ) { desktopTitleFont = f; }
- const QFont& getDesktopTitleFont() const { return desktopTitleFont; }
- const QColor& getDesktopTitleFontColor() const { return desktopTitleFontColor; }
- void setDesktopTitleFontColor( QColor c ) { desktopTitleFontColor = c; }
- const QColor& getDesktopTitleFontHighlightColor() const { return desktopTitleFontHighlightColor; }
- void setDesktopTitleFontHighlightColor( QColor c ) { desktopTitleFontHighlightColor = c; }
+ void setDesktopTitleFont( TQFont f ) { desktopTitleFont = f; }
+ const TQFont& getDesktopTitleFont() const { return desktopTitleFont; }
+ const TQColor& getDesktopTitleFontColor() const { return desktopTitleFontColor; }
+ void setDesktopTitleFontColor( TQColor c ) { desktopTitleFontColor = c; }
+ const TQColor& getDesktopTitleFontHighlightColor() const { return desktopTitleFontHighlightColor; }
+ void setDesktopTitleFontHighlightColor( TQColor c ) { desktopTitleFontHighlightColor = c; }
bool getCacheScaledPixmaps() const { return cacheScaledPixmaps; }
void setCacheScaledPixmaps( bool b ) { cacheScaledPixmaps = b; }
@@ -141,17 +141,17 @@ private:
bool showIcons;
bool showWindowTitles;
- QFont windowTitleFont;
- QFontMetrics *windowTitleFontMetrics;
+ TQFont windowTitleFont;
+ TQFontMetrics *windowTitleFontMetrics;
int windowTitleFontAscent;
int windowTitleFontHeight;
- QColor windowTitleFontColor;
+ TQColor windowTitleFontColor;
bool showWindowTitleShadow;
- QColor windowTitleFontShadowColor;
+ TQColor windowTitleFontShadowColor;
- QFont desktopTitleFont;
- QColor desktopTitleFontColor;
- QColor desktopTitleFontHighlightColor;
+ TQFont desktopTitleFont;
+ TQColor desktopTitleFontColor;
+ TQColor desktopTitleFontHighlightColor;
bool cacheScaledPixmaps;