summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2012-09-01 17:04:20 +0200
committerSlávek Banko <slavek.banko@axis.cz>2012-09-01 17:04:20 +0200
commit821d7de7dfeba296893708dd702445dfa8f6477f (patch)
tree5589091d777395421040283a2a6be2770a1bbbe6 /common
parent9d466f4825e4d70f9d531b8dccd9c7e856307ede (diff)
downloadtde-style-qtcurve-821d7de7dfeba296893708dd702445dfa8f6477f.tar.gz
tde-style-qtcurve-821d7de7dfeba296893708dd702445dfa8f6477f.zip
Revert style and class names to QtCurve
Fix FTBFS on Qt3
Diffstat (limited to 'common')
-rw-r--r--common/common.h22
-rw-r--r--common/config_file.c4
-rw-r--r--common/config_file.c-orig2
3 files changed, 14 insertions, 14 deletions
diff --git a/common/common.h b/common/common.h
index a9cafa9..16ce48f 100644
--- a/common/common.h
+++ b/common/common.h
@@ -2,7 +2,7 @@
#define __COMMON_H__
/*
- TQtCurve (C) Craig Drummond, 2003 - 2010 craig.p.drummond@gmail.com
+ QtCurve (C) Craig Drummond, 2003 - 2010 craig.p.drummond@gmail.com
----
@@ -182,14 +182,14 @@ enum
#define SUNKEN_BEVEL_DARK_ALPHA(X) (X.value()/800.0) // 0.25
#define SUNKEN_BEVEL_LIGHT_ALPHA(X) (X.value()/500.0) // 0.40
-#define MENU_SIZE_ATOM "_TQTCURVE_MENUBAR_SIZE_"
-#define STATUSBAR_ATOM "_TQTCURVE_STATUSBAR_"
-#define TITLEBAR_SIZE_ATOM "_TQTCURVE_TITLEBAR_SIZE_"
-#define ACTIVE_WINDOW_ATOM "_TQTCURVE_ACTIVE_WINDOW_"
-#define TOGGLE_MENUBAR_ATOM "_TQTCURVE_TOGGLE_MENUBAR_"
-#define TOGGLE_STATUSBAR_ATOM "_TQTCURVE_TOGGLE_STATUSBAR_"
-#define OPACITY_ATOM "_TQTCURVE_OPACITY_"
-#define BGND_ATOM "_TQTCURVE_BGND_"
+#define MENU_SIZE_ATOM "_QTCURVE_MENUBAR_SIZE_"
+#define STATUSBAR_ATOM "_QTCURVE_STATUSBAR_"
+#define TITLEBAR_SIZE_ATOM "_QTCURVE_TITLEBAR_SIZE_"
+#define ACTIVE_WINDOW_ATOM "_QTCURVE_ACTIVE_WINDOW_"
+#define TOGGLE_MENUBAR_ATOM "_QTCURVE_TOGGLE_MENUBAR_"
+#define TOGGLE_STATUSBAR_ATOM "_QTCURVE_TOGGLE_STATUSBAR_"
+#define OPACITY_ATOM "_QTCURVE_OPACITY_"
+#define BGND_ATOM "_QTCURVE_BGND_"
#define BLEND_TITLEBAR (opts.menubarAppearance==opts.titlebarAppearance && opts.menubarAppearance==opts.inactiveTitlebarAppearance && \
!(opts.windowBorder&WINDOW_BORDER_BLEND_TITLEBAR) && SHADE_WINDOW_BORDER==opts.shadeMenubars && opts.windowDrag)
@@ -456,8 +456,8 @@ typedef enum
#endif
#if defined CONFIG_DIALOG || ( (0x039999 >= 0x040000))
-#define TQTCURVE_PREVIEW_CONFIG "QTCURVE_PREVIEW_CONFIG"
-#define TQTCURVE_PREVIEW_CONFIG_FULL "QTCURVE_PREVIEW_CONFIG_FULL"
+#define QTCURVE_PREVIEW_CONFIG "QTCURVE_PREVIEW_CONFIG"
+#define QTCURVE_PREVIEW_CONFIG_FULL "QTCURVE_PREVIEW_CONFIG_FULL"
typedef enum
{
diff --git a/common/config_file.c b/common/config_file.c
index 77c3feb..bef1305 100644
--- a/common/config_file.c
+++ b/common/config_file.c
@@ -1,5 +1,5 @@
/*
- TQtCurve (C) Craig Drummond, 2003 - 2010 craig.p.drummond@gmail.com
+ QtCurve (C) Craig Drummond, 2003 - 2010 craig.p.drummond@gmail.com
----
@@ -618,7 +618,7 @@ static bool makeDir(const TQString& dir, int mode)
baseEncoded.prepend("trying to create local folder ");
perror(baseEncoded.constData());
#else
- perror("trying to create TQtCurve config folder ");
+ perror("trying to create QtCurve config folder ");
#endif
return false; // Couldn't create it :-(
}
diff --git a/common/config_file.c-orig b/common/config_file.c-orig
index 772e4e7..26cfce8 100644
--- a/common/config_file.c-orig
+++ b/common/config_file.c-orig
@@ -1,5 +1,5 @@
/*
- TQtCurve (C) Craig Drummond, 2003 - 2007 Craig.Drummond@lycos.co.uk
+ QtCurve (C) Craig Drummond, 2003 - 2007 Craig.Drummond@lycos.co.uk
----