┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/selectiontoggle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/selectiontoggle.cpp')
-rw-r--r--src/selectiontoggle.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/selectiontoggle.cpp b/src/selectiontoggle.cpp
index 7a3f0ef56..16d3c5979 100644
--- a/src/selectiontoggle.cpp
+++ b/src/selectiontoggle.cpp
@@ -54,21 +54,21 @@ QSize SelectionToggle::sizeHint() const
void SelectionToggle::reset()
{
- m_item = KFileItem();
+ m_url = KUrl();
hide();
}
-void SelectionToggle::setFileItem(const KFileItem& item)
+void SelectionToggle::setUrl(const KUrl& url)
{
- m_item = item;
- if (!item.isNull()) {
+ m_url = url;
+ if (!url.isEmpty()) {
startFading();
}
}
-KFileItem SelectionToggle::fileItem() const
+KUrl SelectionToggle::url() const
{
- return m_item;
+ return m_url;
}
void SelectionToggle::setVisible(bool visible)