[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: quanta_be: quanta/quanta/treeviews
From: Andras Mantia <amantia () freemail ! hu>
Date: 2003-11-07 8:32:09
[Download RAW message or body]
CVS commit by amantia:
Port D&D fix.
M +4 -1 templatestreeview.cpp 1.53.2.4
--- quanta/quanta/treeviews/templatestreeview.cpp #1.53.2.3:1.53.2.4
@@ -143,4 +143,7 @@ TemplatesTreeView::TemplatesTreeView(con
setAcceptDrops(true);
+ connect(this, SIGNAL(dropped(KURL::List&, KURL&)),
+ this, SLOT(slotDropped(KURL::List&, KURL&)));
+
setSelectionMode(QListView::Single);
setDropHighlighter(true);
@@ -311,5 +314,5 @@ QDragObject * TemplatesTreeView::dragObj
{
// don't drag folders
- if ( ! currentKFileTreeViewItem() || ! currentKFileTreeViewItem()->isDir() ) return 0;
+ if ( ! currentKFileTreeViewItem() || currentKFileTreeViewItem()->isDir() ) return 0;
readDirInfo();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic