• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeutils
  • Sitemap
  • Contact Us
 

kdelirc

modeslist.cpp

Go to the documentation of this file.
00001 //
00002 //
00003 // C++ Implementation: $MODULE$
00004 //
00005 // Description:
00006 //
00007 //
00008 // Author: Gav Wood <gav@kde.org>, (C) 2003
00009 //
00010 // Copyright: See COPYING file that comes with this distribution
00011 //
00012 //
00013 #include <QWidget>
00014 //Added by qt3to4:
00015 #include <QDropEvent>
00016 
00017 #include <kdebug.h>
00018 
00019 #include "modeslist.h"
00020 
00021 ModesList::ModesList(QWidget *parent, const char *name) : K3ListView(parent)
00022 {
00023     setAcceptDrops(true);
00024     setDropVisualizer(false);
00025     setDropHighlighter(true);
00026 }
00027 
00028 bool ModesList::acceptDrag(QDropEvent *) const
00029 {
00030     // TODO: make safer by checking source/mime type
00031     // TODO: make safer by only allowing drops on the correct remote control's modes
00032     return true;
00033 }
00034 
00035 #include "modeslist.moc"

kdelirc

Skip menu "kdelirc"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdelirc
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • kjots
  • klaptopdaemon
  • kmilo
  • ksim
  • ktimer
  • kwallet
  • superkaramba
Generated for kdeutils by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal