summaryrefslogtreecommitdiffstats
path: root/style
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-08-18 10:23:52 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2013-08-18 10:23:52 -0500
commit538c0cd4b6f082695059552568ba5c9f7a3d3717 (patch)
treece85c8f3bd3f5c8b8dde6e9aeb89f7d8b1d98f21 /style
parentd4eaf37eb253033a08e781d21a07577d123701dc (diff)
downloadtde-style-qtcurve-538c0cd4b6f082695059552568ba5c9f7a3d3717.tar.gz
tde-style-qtcurve-538c0cd4b6f082695059552568ba5c9f7a3d3717.zip
Rename KStyle to TDEStyle to avoid conflicts with KDE4.
Diffstat (limited to 'style')
-rw-r--r--style/CMakeLists.txt2
-rw-r--r--style/qtc_tdestyle.cpp24
-rw-r--r--style/qtc_tdestyle.h4
-rw-r--r--style/qtcurve.themerc2
4 files changed, 16 insertions, 16 deletions
diff --git a/style/CMakeLists.txt b/style/CMakeLists.txt
index 96f10a5..94e80f5 100644
--- a/style/CMakeLists.txt
+++ b/style/CMakeLists.txt
@@ -29,7 +29,7 @@ link_directories(
##### other data ################################
-install( FILES qtcurve.themerc DESTINATION ${DATA_INSTALL_DIR}/kstyle/themes )
+install( FILES qtcurve.themerc DESTINATION ${DATA_INSTALL_DIR}/tdestyle/themes )
##### plastik ###################################
diff --git a/style/qtc_tdestyle.cpp b/style/qtc_tdestyle.cpp
index 00e4844..abe7bf4 100644
--- a/style/qtc_tdestyle.cpp
+++ b/style/qtc_tdestyle.cpp
@@ -1349,7 +1349,7 @@ TQRect TQtCTDEStyle::querySubControlMetrics( ComplexControl control,
return ret;
}
-static const char * const kstyle_close_xpm[] = {
+static const char * const tdestyle_close_xpm[] = {
"12 12 2 1",
"# c #000000",
". c None",
@@ -1366,7 +1366,7 @@ static const char * const kstyle_close_xpm[] = {
"............",
"............"};
-static const char * const kstyle_maximize_xpm[]={
+static const char * const tdestyle_maximize_xpm[]={
"12 12 2 1",
"# c #000000",
". c None",
@@ -1384,7 +1384,7 @@ static const char * const kstyle_maximize_xpm[]={
"............"};
-static const char * const kstyle_minimize_xpm[] = {
+static const char * const tdestyle_minimize_xpm[] = {
"12 12 2 1",
"# c #000000",
". c None",
@@ -1401,7 +1401,7 @@ static const char * const kstyle_minimize_xpm[] = {
"............",
"............"};
-static const char * const kstyle_normalizeup_xpm[] = {
+static const char * const tdestyle_normalizeup_xpm[] = {
"12 12 2 1",
"# c #000000",
". c None",
@@ -1419,7 +1419,7 @@ static const char * const kstyle_normalizeup_xpm[] = {
"............"};
-static const char * const kstyle_shade_xpm[] = {
+static const char * const tdestyle_shade_xpm[] = {
"12 12 2 1",
"# c #000000",
". c None",
@@ -1436,7 +1436,7 @@ static const char * const kstyle_shade_xpm[] = {
"............",
"............"};
-static const char * const kstyle_unshade_xpm[] = {
+static const char * const tdestyle_unshade_xpm[] = {
"12 12 2 1",
"# c #000000",
". c None",
@@ -1599,17 +1599,17 @@ TQPixmap TQtCTDEStyle::stylePixmap( StylePixmap stylepixmap,
{
switch (stylepixmap) {
case SP_TitleBarShadeButton:
- return TQPixmap(const_cast<const char**>(kstyle_shade_xpm));
+ return TQPixmap(const_cast<const char**>(tdestyle_shade_xpm));
case SP_TitleBarUnshadeButton:
- return TQPixmap(const_cast<const char**>(kstyle_unshade_xpm));
+ return TQPixmap(const_cast<const char**>(tdestyle_unshade_xpm));
case SP_TitleBarNormalButton:
- return TQPixmap(const_cast<const char**>(kstyle_normalizeup_xpm));
+ return TQPixmap(const_cast<const char**>(tdestyle_normalizeup_xpm));
case SP_TitleBarMinButton:
- return TQPixmap(const_cast<const char**>(kstyle_minimize_xpm));
+ return TQPixmap(const_cast<const char**>(tdestyle_minimize_xpm));
case SP_TitleBarMaxButton:
- return TQPixmap(const_cast<const char**>(kstyle_maximize_xpm));
+ return TQPixmap(const_cast<const char**>(tdestyle_maximize_xpm));
case SP_TitleBarCloseButton:
- return TQPixmap(const_cast<const char**>(kstyle_close_xpm));
+ return TQPixmap(const_cast<const char**>(tdestyle_close_xpm));
case SP_DockWindowCloseButton:
return TQPixmap(const_cast<const char**>(dock_window_close_xpm ));
case SP_MessageBoxInformation:
diff --git a/style/qtc_tdestyle.h b/style/qtc_tdestyle.h
index 28fa024..9d01a15 100644
--- a/style/qtc_tdestyle.h
+++ b/style/qtc_tdestyle.h
@@ -24,8 +24,8 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef __TQTC_KSTYLE_H
-#define __TQTC_KSTYLE_H
+#ifndef __TQTC_TDESTYLE_H
+#define __TQTC_TDESTYLE_H
// W A R N I N G
// -------------
diff --git a/style/qtcurve.themerc b/style/qtcurve.themerc
index 9e4febe..f3e53fc 100644
--- a/style/qtcurve.themerc
+++ b/style/qtcurve.themerc
@@ -1,6 +1,6 @@
[Misc]
Name=QtCurve
Comment=Highly configurable style
-ConfigPage=kstyle_qtcurve_config
+ConfigPage=tdestyle_qtcurve_config
[KDE]
WidgetStyle=QtCurve