Main Page   Class Hierarchy   Compound List   File List   Compound Members  

miscmanager.h

00001 /*
00002  *
00003  * Copyright (C) 2002 George Staikos <staikos@kde.org>
00004  *
00005  * This library is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU Library General Public
00007  * License as published by the Free Software Foundation; either
00008  * version 2 of the License, or (at your option) any later version.
00009  *
00010  * This library is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * Library General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU Library General Public License
00016  * along with this library; see the file COPYING.LIB.  If not, write to
00017  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00018  * Boston, MA 02111-1307, USA.
00019  */
00020 
00021 
00022 
00023 #ifndef _MISCMANAGER_H
00024 #define _MISCMANAGER_H
00025 
00026 #include <qstring.h>
00027 #include <qobject.h>
00028 #include <qptrlist.h>
00029 #include <qwidget.h>
00030 
00031 class QVMiscPlugin;
00032 class QtVision;
00033 
00037 class MiscManager : public QObject
00038 {
00039         Q_OBJECT
00040 
00041 public:
00042     bool filterNumberKey(int key);
00043 
00044 public slots:
00045     void scanPlugins();
00046     void rescanPlugins();
00047 
00048     QPtrList<QVMiscPlugin> plugins();
00049 
00050 protected:
00051     friend class QtVision;
00052     MiscManager(QtVision *qtv, QWidget *w);
00053     ~MiscManager();
00054 
00055 private:
00056     QPtrList<QVMiscPlugin> _plugs;
00057     QWidget* _view;
00058     QtVision *_qtv;
00059 };
00060 
00061 
00062 
00063 #endif
00064 

Generated at Thu Jan 30 02:56:02 2003 for QtVision by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001