Branding cleanup: KDE -> TDE

pull/1/head
Darrell Anderson 12 years ago
parent 2c4236cf5a
commit d4990a5b0e

@ -343,8 +343,8 @@ void KcmGtk::save()
TQString themeName = widget->styleKde->isChecked() ? themes["Qt"] : themes[widget->styleBox->currentText()];
TQString themeNameShort = widget->styleKde->isChecked() ? TQString("Qt") : widget->styleBox->currentText();
stream << "# This file was written by KDE\n";
stream << "# You can edit it in the KDE control center, under \"GTK Styles and Fonts\"\n";
stream << "# This file was written by TDE\n";
stream << "# You can edit it in the TDE control center, under \"GTK Styles and Fonts\"\n";
stream << "\n";
stream << "include \"" << themeName << "\"\n";
if (TQFile::exists("/etc/gtk-2.0/gtkrc"))
@ -404,7 +404,7 @@ void KcmGtk::save()
// Tell the user to restart KDE if the environment file was created this time
if (envFileDidNotExist)
TQMessageBox::information(this, "Restart KDE", "Your changes have been saved, but you will have to restart KDE for them to take effect.", TQMessageBox::Ok);
TQMessageBox::information(this, "Restart TDE", "Your changes have been saved, but you will have to restart TDE for them to take effect.", TQMessageBox::Ok);
// Older versions of the Gtk-Qt theme engine wrote directly into ~/.gtkrc-2.0
// If the user has upgraded, that file needs to be deleted so the old settings
@ -417,7 +417,7 @@ void KcmGtk::save()
file.readLine(firstLine, 50);
file.close();
if (firstLine == "# This file was written by KDE")
if (firstLine == "# This file was written by TDE")
file.remove();
}
@ -590,7 +590,7 @@ TQString KcmGtk::scrollBarCSS()
TQString downBottom = (forward2 ? "-moz-box" : "none");
TQString data;
data += "/* The following four lines were added by KDE */\n";
data += "/* The following four lines were added by TDE */\n";
data += "scrollbarbutton[sbattr=\"scrollbar-up-top\"] { display: " + upTop + " !important; }\n";
data += "scrollbarbutton[sbattr=\"scrollbar-down-top\"] { display: " + downTop + " !important; }\n";
data += "scrollbarbutton[sbattr=\"scrollbar-up-bottom\"] { display: " + upBottom + " !important; }\n";
@ -612,8 +612,8 @@ void KcmGtk::writeFirefoxCSS(const TQString& path, const TQString& data)
if (line.isNull())
break;
if ((line == "# The following four lines were added by KDE") ||
(line == "/* The following four lines were added by KDE */"))
if ((line == "# The following four lines were added by TDE") ||
(line == "/* The following four lines were added by TDE */"))
{
for (int i=0 ; i<4 ; i++)
stream.readLine();

Loading…
Cancel
Save