* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
***************************************************************************/
#include <assert.h>
#include <QDateTime>
#include <QFile>
+#include <kcomponentdata.h>
#include <klocale.h>
#include <kstandarddirs.h>
#include <kurl.h>
-#include <kinstance.h>
+#include <kcomponentdata.h>
#include "viewproperties.h"
#include "dolphinsettings.h"
QString ViewProperties::destinationDir(const QString& subDir) const
{
- QString basePath = KGlobal::instance()->instanceName();
+ QString basePath = KGlobal::mainComponent().componentName();
basePath.append("/view_properties/").append(subDir);
return KStandardDirs::locateLocal("data", basePath);
}