summaryrefslogtreecommitdiffstats
path: root/src/dolphinsettings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dolphinsettings.cpp')
-rw-r--r--src/dolphinsettings.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/dolphinsettings.cpp b/src/dolphinsettings.cpp
index 01ef80e..1b13d2b 100644
--- a/src/dolphinsettings.cpp
+++ b/src/dolphinsettings.cpp
@@ -19,7 +19,7 @@
***************************************************************************/
#include "dolphinsettings.h"
-#include <qdir.h>
+#include <tqdir.h>
#include <kapplication.h>
#include <kbookmark.h>
@@ -55,7 +55,7 @@ DolphinSettings::DolphinSettings() :
{
KConfig* config = kapp->config();
config->setGroup("General");
- m_homeURL = KURL(config->readEntry("Home URL", QDir::homeDirPath()));
+ m_homeURL = KURL(config->readEntry("Home URL", TQDir::homeDirPath()));
m_defaultMode = static_cast<DolphinView::Mode>(config->readNumEntry("Default View Mode", DolphinView::IconsView));
m_isViewSplit = config->readBoolEntry("Split View", false);
m_isSaveView = config->readBoolEntry("Save View", false);
@@ -109,9 +109,9 @@ DolphinIconsViewSettings* DolphinSettings::iconsView(DolphinIconsView::LayoutMod
KBookmarkManager* DolphinSettings::bookmarkManager() const
{
- QString basePath = KGlobal::instance()->instanceName();
+ TQString basePath = KGlobal::instance()->instanceName();
basePath.append("/bookmarks.xml");
- const QString file = locateLocal("data", basePath);
+ const TQString file = locateLocal("data", basePath);
return KBookmarkManager::managerForFile(file, false);
}
@@ -133,9 +133,9 @@ void DolphinSettings::save()
m_leftsidebar->save();
m_rightsidebar->save();
- QString basePath = KGlobal::instance()->instanceName();
+ TQString basePath = KGlobal::instance()->instanceName();
basePath.append("/bookmarks.xml");
- const QString file = locateLocal( "data", basePath);
+ const TQString file = locateLocal( "data", basePath);
KBookmarkManager* manager = KBookmarkManager::managerForFile(file, false);
manager->save(false);