#include "discoverwidget.h"
#include "../sendfilewizard.h"
-#include <QLabel>
-#include <QDesktopServices>
+#include <QtCore/QDir>
+#include <QtGui/QLabel>
#include <QtGui/QVBoxLayout>
#include <kurl.h>
//Don't worry MLaurent, I'm not going to check the pointer before delete it :)
delete m_dialog;
- m_dialog = new KFileDialog(KUrl(QDesktopServices::storageLocation(QDesktopServices::HomeLocation)), "*", this);
+ m_dialog = new KFileDialog(KUrl(QDir::homePath()), "*", this);
m_dialog->setMode(KFile::Files);
connect(m_dialog, SIGNAL(selectionChanged()), this, SLOT(selectionChanged()));
#include <kdiroperator.h>
#include <kfileitem.h>
-#include <QDesktopServices>
+#include <QtCore/QDir>
#include <QtGui/QVBoxLayout>
#include <QtGui/QLabel>
SelectFilesPage::SelectFilesPage(QWidget* parent): QWizardPage(parent)
{
- m_files = new KFileWidget(KUrl(QDesktopServices::storageLocation(QDesktopServices::HomeLocation)), this);
+ m_files = new KFileWidget(KUrl(QDir::homePath()), this);
m_files->setMode(KFile::Files);
m_files->setContentsMargins(0, 0, 0, 0);
setContentsMargins(0, 0, 0, 0);