diff options
Diffstat (limited to 'kbfxlib/common/kbfxconfig.h')
-rw-r--r-- | kbfxlib/common/kbfxconfig.h | 190 |
1 files changed, 95 insertions, 95 deletions
diff --git a/kbfxlib/common/kbfxconfig.h b/kbfxlib/common/kbfxconfig.h index 739524b..edfc66d 100644 --- a/kbfxlib/common/kbfxconfig.h +++ b/kbfxlib/common/kbfxconfig.h @@ -24,12 +24,12 @@ #include <config.h> -#include <qcolor.h> -#include <qfile.h> -#include <qfileinfo.h> -#include <qfont.h> -#include <qpixmap.h> -#include <qstring.h> +#include <tqcolor.h> +#include <tqfile.h> +#include <tqfileinfo.h> +#include <tqfont.h> +#include <tqpixmap.h> +#include <tqstring.h> #include <kapplication.h> #include <kconfig.h> @@ -47,66 +47,66 @@ class KbfxConfig { public: void read(); - void readFontrc ( QString &themePath, QString &themeName, bool user_rc=TRUE ); - void readThemerc ( QString &themePath, QString &themeName, bool user_rc=TRUE ); - void readThemeInfo ( QString &themePath, QString &themeName ); + void readFontrc ( TQString &themePath, TQString &themeName, bool user_rc=TRUE ); + void readThemerc ( TQString &themePath, TQString &themeName, bool user_rc=TRUE ); + void readThemeInfo ( TQString &themePath, TQString &themeName ); void setDefault(); void setThemeDefault(); void setFontsDefault(); void setThemeInfoDefault(); void write(); - void writeFontrc ( QString &themeName ); - void writeThemerc ( QString &themeName ); + void writeFontrc ( TQString &themeName ); + void writeThemerc ( TQString &themeName ); void checkValues(); /* Theme info resources */ - QString m_InfoVersion; - QString m_InfoVersionDefault; - QString m_InfoAuthor; - QString m_InfoAuthorDefault; - QString m_InfoEmail; - QString m_InfoEmailDefault; - QString m_InfoUrl; - QString m_InfoUrlDefault; + TQString m_InfoVersion; + TQString m_InfoVersionDefault; + TQString m_InfoAuthor; + TQString m_InfoAuthorDefault; + TQString m_InfoEmail; + TQString m_InfoEmailDefault; + TQString m_InfoUrl; + TQString m_InfoUrlDefault; /* kbfx_menu_button config items list */ - QString m_KbfxThemesVersion; - QString KbfxThemeRcDestination; - QString KbfxRcPath; - QPixmap KbfxOnImg; - QPixmap KbfxOffImg; + TQString m_KbfxThemesVersion; + TQString KbfxThemeRcDestination; + TQString KbfxRcPath; + TQPixmap KbfxOnImg; + TQPixmap KbfxOffImg; int m_KbfxGeneralVersion; int m_KbfxGeneralVersionDefault; - QString m_KbfxNormalButtonPath; - QString m_KbfxNormalButtonPathDefault; - QString m_KbfxHoverButtonPath; - QString m_KbfxHoverButtonPathDefault; - QString m_KbfxPressedButtonPath; - QString m_KbfxPressedButtonPathDefault; - QString m_KbfxMouseOverAnimationPath; - QString m_KbfxMouseOverAnimationPathDefault; - QColor m_KbfxButtonColor; - QColor m_KbfxButtonColorDefault; + TQString m_KbfxNormalButtonPath; + TQString m_KbfxNormalButtonPathDefault; + TQString m_KbfxHoverButtonPath; + TQString m_KbfxHoverButtonPathDefault; + TQString m_KbfxPressedButtonPath; + TQString m_KbfxPressedButtonPathDefault; + TQString m_KbfxMouseOverAnimationPath; + TQString m_KbfxMouseOverAnimationPathDefault; + TQColor m_KbfxButtonColor; + TQColor m_KbfxButtonColorDefault; int m_KbfxButtonSize; int m_KbfxButtonSizeDefault; bool m_KbfxButtonGlow; bool m_KbfxButtonGlowDefault; bool m_KbfxButtonKikerResize; bool m_KbfxButtonKikerResizeDefault; - QString m_KbfxMenuType; - QString m_KbfxMenuTypeDefault; + TQString m_KbfxMenuType; + TQString m_KbfxMenuTypeDefault; /* spinx config items list */ - QString m_SpinxThemeBasePath; - QString m_SpinxThemeBasePathDefault; - QString m_UserSpinxThemeBasePath; - QString m_UserSpinxThemeBasePathDefault; + TQString m_SpinxThemeBasePath; + TQString m_SpinxThemeBasePathDefault; + TQString m_UserSpinxThemeBasePath; + TQString m_UserSpinxThemeBasePathDefault; bool m_SpinxDudeBlink; bool m_SpinxDudeBlinkDefault; - QString m_SpinxDudeImage; - QString m_SpinxDudeImageDefault; - QString m_SpinxThemeName; - QString m_SpinxThemeNameDefault; + TQString m_SpinxDudeImage; + TQString m_SpinxDudeImageDefault; + TQString m_SpinxThemeName; + TQString m_SpinxThemeNameDefault; bool m_ToolBarResize; bool m_ToolBarResizeDefault; bool m_KbfxWatcher; @@ -120,65 +120,65 @@ class KbfxConfig bool m_ToolTipAnimationDefault; bool m_ToolTip; bool m_ToolTipDefault; - QString m_ToolTipText; - QString m_ToolTipTextDefault; - QString m_ToolTipAvatar; - QString m_ToolTipAvatarDefault; - QString m_SpinxTooltipDudebox; - QString m_SpinxTooltipDudeboxDefault; - QString m_SpinxTooltipMask; - QString m_SpinxTooltipMaskDefault; - QString m_SpinxTooltipWindow; - QString m_SpinxTooltipWindowDefault; - QString m_SpinxTooltipLogo; - QString m_SpinxTooltipLogoDefault; + TQString m_ToolTipText; + TQString m_ToolTipTextDefault; + TQString m_ToolTipAvatar; + TQString m_ToolTipAvatarDefault; + TQString m_SpinxTooltipDudebox; + TQString m_SpinxTooltipDudeboxDefault; + TQString m_SpinxTooltipMask; + TQString m_SpinxTooltipMaskDefault; + TQString m_SpinxTooltipWindow; + TQString m_SpinxTooltipWindowDefault; + TQString m_SpinxTooltipLogo; + TQString m_SpinxTooltipLogoDefault; - QString m_KbfxHistory; - QString m_KbfxHistoryDefault; + TQString m_KbfxHistory; + TQString m_KbfxHistoryDefault; /* font settings */ - QColor m_fontTooltipColor; - QColor m_fontTooltipColorDefault; - QFont m_fontTooltipFont; - QFont m_fontTooltipFontDefault; - QColor m_fontAppNameColor; - QColor m_fontAppNameColorDefault; - QFont m_fontAppNameFont; - QFont m_fontAppNameFontDefault; - QColor m_fontAppCommentColor; - QColor m_fontAppCommentColorDefault; - QFont m_fontAppCommentFont; - QFont m_fontAppCommentFontDefault; - QColor m_lineColor; - QColor m_lineColorDefault; - QColor m_fontIndexColor; - QColor m_fontIndexColorDefault; - QFont m_fontIndexFont; - QFont m_fontIndexFontDefault; - QColor m_userImageColor; - QColor m_userImageColorDefault; - QColor m_userNameColor; - QColor m_userNameColorDefault; - QFont m_userNameFont; - QFont m_userNameFontDefault; - QColor m_sepNameColor; - QColor m_sepNameColorDefault; - QFont m_sepNameFont; - QFont m_sepNameFontDefault; - QColor m_pluginNameColor; - QColor m_pluginNameColorDefault; - QFont m_pluginNameFont; - QFont m_pluginNameFontDefault; + TQColor m_fontTooltipColor; + TQColor m_fontTooltipColorDefault; + TQFont m_fontTooltipFont; + TQFont m_fontTooltipFontDefault; + TQColor m_fontAppNameColor; + TQColor m_fontAppNameColorDefault; + TQFont m_fontAppNameFont; + TQFont m_fontAppNameFontDefault; + TQColor m_fontAppCommentColor; + TQColor m_fontAppCommentColorDefault; + TQFont m_fontAppCommentFont; + TQFont m_fontAppCommentFontDefault; + TQColor m_lineColor; + TQColor m_lineColorDefault; + TQColor m_fontIndexColor; + TQColor m_fontIndexColorDefault; + TQFont m_fontIndexFont; + TQFont m_fontIndexFontDefault; + TQColor m_userImageColor; + TQColor m_userImageColorDefault; + TQColor m_userNameColor; + TQColor m_userNameColorDefault; + TQFont m_userNameFont; + TQFont m_userNameFontDefault; + TQColor m_sepNameColor; + TQColor m_sepNameColorDefault; + TQFont m_sepNameFont; + TQFont m_sepNameFontDefault; + TQColor m_pluginNameColor; + TQColor m_pluginNameColorDefault; + TQFont m_pluginNameFont; + TQFont m_pluginNameFontDefault; bool m_fontHoverBold; bool m_fontHoverBoldDefault; /* history */ - QStringList m_pluginsLeft; - QStringList m_pluginsLeftDefault; - QStringList m_pluginsRight; - QStringList m_pluginsRightDefault; + TQStringList m_pluginsLeft; + TQStringList m_pluginsLeftDefault; + TQStringList m_pluginsRight; + TQStringList m_pluginsRightDefault; - /* layout */ + /* tqlayout */ int m_facePos_x; int m_facePos_xDefault; int m_facePos_y; |