From 359294c33620c8328d61f67635046d7cc060530c Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Fri, 17 May 2013 12:45:40 -0500 Subject: Rename kdessh -> tdessh and kdelirc -> tdelirc. --- tdelirc/kcmlirc/modeslist.cpp | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 tdelirc/kcmlirc/modeslist.cpp (limited to 'tdelirc/kcmlirc/modeslist.cpp') diff --git a/tdelirc/kcmlirc/modeslist.cpp b/tdelirc/kcmlirc/modeslist.cpp new file mode 100644 index 0000000..1665e64 --- /dev/null +++ b/tdelirc/kcmlirc/modeslist.cpp @@ -0,0 +1,33 @@ +// +// +// 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) : TDEListView(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" -- cgit v1.2.1