summaryrefslogtreecommitdiff
path: root/src/paneltreeview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/paneltreeview.cpp')
-rw-r--r--src/paneltreeview.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/paneltreeview.cpp b/src/paneltreeview.cpp
index d0d530fb..58673d60 100644
--- a/src/paneltreeview.cpp
+++ b/src/paneltreeview.cpp
@@ -31,9 +31,13 @@
// Local Includes
#include "application.h"
+// KDE Includes
+#include <KUrl>
+
// Qt Includes
-#include <QMouseEvent>
-#include <QClipboard>
+#include <QtGui/QMouseEvent>
+#include <QtGui/QKeyEvent>
+#include <QtGui/QClipboard>
PanelTreeView::PanelTreeView(QWidget *parent)
@@ -171,7 +175,7 @@ void PanelTreeView::copyToClipboard()
if (!index.isValid())
return;
- QClipboard *cb = QApplication::clipboard();
+ QClipboard *cb = Application::clipboard();
cb->setText(qVariantValue< KUrl >(index.data(Qt::UserRole)).url());
}