00001 /**************************************************************************** 00002 ** $Id: plugins.h,v 1.6 2004/08/18 16:18:27 leader Exp $ 00003 ** 00004 ** Header file of the Ananas plugins class 00005 ** 00006 ** Created : 20031201 00007 ** 00008 ** Copyright (C) 2003-2004 Leader InfoTech. All rights reserved. 00009 ** 00010 ** This file is part of the Ananas Plugins of the Ananas 00011 ** automation accounting system. 00012 ** 00013 ** This file may be distributed and/or modified under the terms of the 00014 ** GNU General Public License version 2 as published by the Free Software 00015 ** Foundation and appearing in the file LICENSE.GPL included in the 00016 ** packaging of this file. 00017 ** 00018 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 00019 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00020 ** 00021 ** See http://www.leaderit.ru/page=ananas or email sales@leaderit.ru 00022 ** See http://www.leaderit.ru/gpl/ for GPL licensing information. 00023 ** 00024 ** Contact org@leaderit.ru if any conditions of this licensing are 00025 ** not clear to you. 00026 ** 00027 **********************************************************************/ 00028 00029 #ifndef APLUGINS_H 00030 #define APLUGINS_H 00031 #include <qwidgetplugin.h> 00032 00033 00034 class aPlugins : public QWidgetPlugin 00035 { 00036 public: 00037 aPlugins(); 00038 00039 QStringList keys() const; 00040 QWidget* create( const QString &classname, QWidget* parent = 0, const char* name = 0 ); 00041 QString group( const QString& ) const; 00042 QIconSet iconSet( const QString& ) const; 00043 QString includeFile( const QString& ) const; 00044 QString toolTip( const QString& ) const; 00045 QString whatsThis( const QString& ) const; 00046 bool isContainer( const QString& ) const; 00047 }; 00048 00049 #endif 00050