You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdeutils/kdelirc/kcmlirc/modeslist.cpp

34 lines
642 B

//
//
// C++ Implementation: $MODULE$
//
// Description:
//
//
// Author: Gav Wood <gav@kde.org>, (C) 2003
//
// Copyright: See COPYING file that comes with this distribution
//
//
#include <tqwidget.h>
#include <kdebug.h>
#include "modeslist.h"
ModesList::ModesList(TQWidget *tqparent, const char *name) : KListView(tqparent, 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"