diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-27 00:40:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-27 00:40:29 +0000 |
commit | 7a741e43ff09e70396a918956219b8316c48e522 (patch) | |
tree | 3d0f60eccd59786cea7236db2d5c4c1f25874515 /src/dolphinsettings.cpp | |
parent | a48487ef0c329434b58b6f920111bb0999f1109e (diff) | |
download | dolphin-7a741e43ff09e70396a918956219b8316c48e522.tar.gz dolphin-7a741e43ff09e70396a918956219b8316c48e522.zip |
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
Diffstat (limited to 'src/dolphinsettings.cpp')
-rw-r--r-- | src/dolphinsettings.cpp | 12 |
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); |