[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Forbid moving of QListViewItems
From:       David Faure <david () mandrakesoft ! com>
Date:       2001-03-23 10:29:34
[Download RAW message or body]

On Thursday 22 March 2001 23:06, Frerich Raabe wrote:
> Hi,
> 
> yet another problem I've been fighting with for quite some while now: I have 
> a KListView which holds an arbitrary number of QListViewItems, and each 
> QListViewItem holds multiple QCheckListItems (the QListViewItems are the 
> subject and each subject contains multiple checkable articles). The problem 
> is:
> 
> a) The user musn't move the QListViewItems around, neither change their order 
> nor move one QListViewItem below another.
> b) The user musn't move a QCheckListItem to the root but only to a different 
> position within the same QListViewItem or another QListViewItem.
> 
> Does anybody know how to do that?

Did you have a look at kdebase/konqueror/keditbookmarks/toplevel.cpp ?
I do forbid certain moves, like moving an item before the root, etc.

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://perso.mandrakesoft.com/~david/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today

 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic