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.
34 lines
640 B
34 lines
640 B
15 years ago
|
//
|
||
|
//
|
||
|
// C++ Implementation: $MODULE$
|
||
|
//
|
||
|
// Description:
|
||
|
//
|
||
|
//
|
||
|
// Author: Gav Wood <gav@kde.org>, (C) 2003
|
||
|
//
|
||
|
// Copyright: See COPYING file that comes with this distribution
|
||
|
//
|
||
|
//
|
||
15 years ago
|
#include <tqwidget.h>
|
||
15 years ago
|
|
||
|
#include <kdebug.h>
|
||
|
|
||
|
#include "modeslist.h"
|
||
|
|
||
12 years ago
|
ModesList::ModesList(TQWidget *parent, const char *name) : TDEListView(parent, name)
|
||
15 years ago
|
{
|
||
|
setAcceptDrops(true);
|
||
|
setDropVisualizer(false);
|
||
|
setDropHighlighter(true);
|
||
|
}
|
||
|
|
||
15 years ago
|
bool ModesList::acceptDrag(TQDropEvent *) const
|
||
15 years ago
|
{
|
||
|
// 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"
|