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

kstars

draglistbox.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           draglistbox.h  -  description
00003                              -------------------
00004     begin                : Sun May 29 2005
00005     copyright            : (C) 2005 by Jason Harris
00006     email                : kstars@30doradus.org
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef DRAGLISTBOX_H
00019 #define DRAGLISTBOX_H
00020 
00021 #include <klistbox.h>
00022 
00023 class QDragEnterEvent;
00024 class QDragDropEvent;
00025 
00033 class DragListBox : public KListBox {
00034     Q_OBJECT
00035 public:
00038     DragListBox( QWidget *parent = 0, const char *name = 0, WFlags = 0 );
00039 
00042     ~DragListBox();
00043 
00044     int ignoreIndex() const { return IgnoreIndex; }
00045     bool contains( const QString &s ) const;
00046 
00047     void dragEnterEvent( QDragEnterEvent *evt );
00048     void dropEvent( QDropEvent *evt );
00049     void mousePressEvent( QMouseEvent *evt );
00050     void mouseMoveEvent( QMouseEvent * );
00051 private:
00052     bool dragging;
00053     int IgnoreIndex;
00054 
00055 };
00056 
00057 #endif //DRAGLISTBOX_H

kstars

Skip menu "kstars"
  • Main Page
  • Modules
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • keduca
  • kstars
Generated for API Reference by doxygen 1.5.9
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