summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/exportthemedialog.cpp2
-rw-r--r--config/qtcurveconfig.cpp12
2 files changed, 8 insertions, 6 deletions
diff --git a/config/exportthemedialog.cpp b/config/exportthemedialog.cpp
index 32bd2e5..ccb9cce 100644
--- a/config/exportthemedialog.cpp
+++ b/config/exportthemedialog.cpp
@@ -64,7 +64,7 @@ void CExportThemeDialog::slotOk()
KMessageBox::error(this, i18n("Name is empty!"));
else
{
- TQString fileName(themeUrl->url()+"/"THEME_PREFIX+name+".themerc");
+ TQString fileName(themeUrl->url()+"/"+THEME_PREFIX+name+".themerc");
TDEConfig cfg(fileName, false, false);
bool rv(!cfg.isReadOnly());
diff --git a/config/qtcurveconfig.cpp b/config/qtcurveconfig.cpp
index 68e7c7a..4d9329e 100644
--- a/config/qtcurveconfig.cpp
+++ b/config/qtcurveconfig.cpp
@@ -799,7 +799,7 @@ QtCurveConfig::~QtCurveConfig()
void QtCurveConfig::loadStyles(TQPopupMenu *menu)
{
- TQStringList files(TDEGlobal::dirs()->findAllResources("data", "QtCurve/*"EXTENSION, false, true));
+ TQStringList files(TDEGlobal::dirs()->findAllResources("data", "QtCurve/*" EXTENSION, false, true));
files.sort();
@@ -1374,9 +1374,11 @@ void QtCurveConfig::roundChanged()
void QtCurveConfig::importStyle()
{
TQString file(KFileDialog::getOpenFileName(TQString::null,
- i18n("*"EXTENSION"|QtCurve Settings Files\n"
- THEME_PREFIX"*"THEME_SUFFIX"|QtCurve TDE Theme Files"),
- this));
+ TQString("*%1|").arg(EXTENSION)+
+ i18n("QtCurve Settings Files") + "\n" +
+ TQString("%2*%3|").arg(THEME_PREFIX).arg(THEME_SUFFIX)+
+ i18n("QtCurve TDE Theme Files"),
+ this));
if(!file.isEmpty())
loadStyle(file);
@@ -1384,7 +1386,7 @@ void QtCurveConfig::importStyle()
void QtCurveConfig::exportStyle()
{
- TQString file(KFileDialog::getSaveFileName(TQString::null, i18n("*"EXTENSION"|QtCurve Settings Files"), this));
+ TQString file(KFileDialog::getSaveFileName(TQString::null, TQString("*%1|").arg(EXTENSION)+i18n("QtCurve Settings Files"), this));
if(!file.isEmpty())
{