Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

QCameraPathDrag.h

Go to the documentation of this file.
00001 /*
00002  * QCameraPathDrag.h
00003  * $Id: 
00004  *
00005  * Copyright (C) 2001 Thomas Woerner, Markus Janich
00006  *
00007  * This program is free software; you can redistribute it and/or modify
00008  * it under the terms of the GNU General Public License as published by
00009  * the Free Software Foundation; either version 2 of the License, or
00010  * (at your option) any later version.
00011  *
00012  * This program is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  * GNU General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU General Public License
00018  * along with this program; if not, write to the Free Software
00019  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00020  *
00021  */
00022 
00023 #ifndef _QCAMERAPATHDRAG_H
00024 #define _QCAMERAPATHDRAG_H
00025 
00026 
00027 // Qt
00029 #include <qdragobject.h>
00030 
00031 // QGLViewer
00033 #include <CCamera.h>
00034 
00035 // Own
00037 #include "CList.h"
00038 
00039 
00040 
00042 
00046 class QCameraPathDrag: public QStoredDrag {
00047 public:
00048 
00050   QCameraPathDrag(CList<CCamera> &list, QWidget *parent=0,
00051                   const char *name=0);
00053   ~QCameraPathDrag() { }
00054 
00055   /* static method to test whether it can be decoded. */
00056   static bool canDecode(QDragMoveEvent *event);
00057 
00058   /* static method to decode a camera list. */
00059   static bool decode(QDropEvent *event, CList<CCamera> &list);
00060 };
00061 
00062 
00063 #endif // _QCAMERAPATHDRAG_H

Generated at Thu Oct 4 17:17:25 2001 for QGLViewer by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001