// // // C++ Implementation: $MODULE$ // // Description: // // // Author: Gav Wood , (C) 2003 // // Copyright: See COPYING file that comes with this distribution // // #include #include #include "modeslist.h" ModesList::ModesList(TQWidget *parent, const char *name) : KListView(parent, name) { setAcceptDrops(true); setDropVisualizer(false); setDropHighlighter(true); } bool ModesList::acceptDrag(TQDropEvent *) const { // TODO: make safer by checking source/mime type // TODO: make safer by only allowing drops on the correct remote control's modes return true; } #include "modeslist.moc"