diff options
Diffstat (limited to 'src/komposesettings.h')
-rw-r--r-- | src/komposesettings.h | 52 |
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; |