summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 14:58:58 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 14:58:58 -0600
commitbc80a5e4638301ce3153d792c7e3c49a4270c4eb (patch)
tree2113f6059956b867a7b1a1ac2e0f36a98f1e0b4b
parent59984d0d07335bb55fe7d2777f224a98bca7bfc5 (diff)
downloadgtk3-tqt-engine-bc80a5e4638301ce3153d792c7e3c49a4270c4eb.tar.gz
gtk3-tqt-engine-bc80a5e4638301ce3153d792c7e3c49a4270c4eb.zip
Rename a number of classes to enhance compatibility with KDE4
-rw-r--r--tdegtk/tdegtk-theme.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tdegtk/tdegtk-theme.cpp b/tdegtk/tdegtk-theme.cpp
index 91c8157..05273ac 100644
--- a/tdegtk/tdegtk-theme.cpp
+++ b/tdegtk/tdegtk-theme.cpp
@@ -297,7 +297,7 @@ void gtk3_tqt_reload_theme_definition_file(const char* filename) {
g_object_unref(provider);
}
-TQString tdeFontToGTKFontString(TQFont font) {
+TQString tdeFontToGTTDEFontString(TQFont font) {
TQString fontDescriptor = "font: ";
fontDescriptor.append(font.family());
if (font.bold()) {
@@ -1020,9 +1020,9 @@ void writeGtkThemeControlFile(int forceRecreate) {
// TQFont windowTitleFont = TDEGlobalSettings::windowTitleFont();
// TQFont taskbarFont = TDEGlobalSettings::taskbarFont();
- stream << parse_rc_string(tdeFontToGTKFontString(generalFont), "*");
- stream << parse_rc_string(tdeFontToGTKFontString(toolBarFont), "*GtkToolbar*GtkButton*");
- stream << parse_rc_string(tdeFontToGTKFontString(menuFont), "*.GtkMenu");
+ stream << parse_rc_string(tdeFontToGTTDEFontString(generalFont), "*");
+ stream << parse_rc_string(tdeFontToGTTDEFontString(toolBarFont), "*GtkToolbar*GtkButton*");
+ stream << parse_rc_string(tdeFontToGTTDEFontString(menuFont), "*.GtkMenu");
themeFile.close();