From 7a741e43ff09e70396a918956219b8316c48e522 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 27 Apr 2011 00:40:29 +0000 Subject: TQt4 port Dolphin This enables compilation under Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/dolphin@1229359 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/dolphinsettings.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/dolphinsettings.cpp') 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 +#include #include #include @@ -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(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); -- cgit v1.2.1