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

QCameraKeyPathDrag.h

Go to the documentation of this file.
00001 /*
00002  * QCameraKeyPathDrag.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 
00024 
00025 #ifndef QCAMERAKEYPATHDRAG_H
00026 #define QCAMERAKEYPATHDRAG_H
00027 
00028 
00029 // Qt
00031 #include <qdragobject.h>
00032 
00033 // Own
00035 #include "CList.h"
00036 #include "CCameraKeyPathPoint.h"
00037 
00038 
00039 
00041 
00045 class QCameraKeyPathDrag: public QStoredDrag {
00046 
00047 public:
00048 
00049   /* Default constructor. */
00050   QCameraKeyPathDrag(CList<CCameraKeyPathPoint> &list, QWidget *parent=0,
00051                      const char *name=0);
00052   /* Destructor. */
00053   ~QCameraKeyPathDrag() { }
00054 
00055   /* static method to test whether it can be decoded. */
00056   static bool canDecode(QDragMoveEvent *event);
00057 
00058   /* static method to decode a key camera list. */
00059   static bool decode(QDropEvent *event, CList<CCameraKeyPathPoint> &list);
00060 };
00061 
00062 
00063 #endif // QCAMERAKEYPATHDRAG_H

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