From 538c0cd4b6f082695059552568ba5c9f7a3d3717 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Sun, 18 Aug 2013 10:23:52 -0500 Subject: Rename KStyle to TDEStyle to avoid conflicts with KDE4. --- style/qtc_tdestyle.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'style/qtc_tdestyle.cpp') 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(kstyle_shade_xpm)); + return TQPixmap(const_cast(tdestyle_shade_xpm)); case SP_TitleBarUnshadeButton: - return TQPixmap(const_cast(kstyle_unshade_xpm)); + return TQPixmap(const_cast(tdestyle_unshade_xpm)); case SP_TitleBarNormalButton: - return TQPixmap(const_cast(kstyle_normalizeup_xpm)); + return TQPixmap(const_cast(tdestyle_normalizeup_xpm)); case SP_TitleBarMinButton: - return TQPixmap(const_cast(kstyle_minimize_xpm)); + return TQPixmap(const_cast(tdestyle_minimize_xpm)); case SP_TitleBarMaxButton: - return TQPixmap(const_cast(kstyle_maximize_xpm)); + return TQPixmap(const_cast(tdestyle_maximize_xpm)); case SP_TitleBarCloseButton: - return TQPixmap(const_cast(kstyle_close_xpm)); + return TQPixmap(const_cast(tdestyle_close_xpm)); case SP_DockWindowCloseButton: return TQPixmap(const_cast(dock_window_close_xpm )); case SP_MessageBoxInformation: -- cgit v1.2.3