Eneboo - Documentación para desarrolladores
|
00001 /* -*- mode: C++ ; c-file-style: "stroustrup" -*- ***************************** 00002 * Qwt Widget Library 00003 * Copyright (C) 1997 Josef Wilgen 00004 * Copyright (C) 2002 Uwe Rathmann 00005 * 00006 * This library is free software; you can redistribute it and/or 00007 * modify it under the terms of the Qwt License, Version 1.0 00008 *****************************************************************************/ 00009 00010 #ifndef QWT_PLUGIN_H 00011 #define QWT_PLUGIN_H 00012 00013 #include <qglobal.h> 00014 00015 #if QT_VERSION >= 0x040000 00016 00017 #ifdef __GNUC__ 00018 #error This code is Qt3 only 00019 #endif 00020 00021 This code is Qt3 only 00022 00023 #endif 00024 00025 #include <qwidgetplugin.h> 00026 00027 class QT_WIDGET_PLUGIN_EXPORT QwtPlugin: public QWidgetPlugin 00028 { 00029 public: 00030 QwtPlugin(); 00031 00032 QStringList keys() const; 00033 QWidget* create( const QString &classname, QWidget* parent = 0, const char* name = 0 ); 00034 QString group( const QString& ) const; 00035 QIconSet iconSet( const QString& ) const; 00036 QString includeFile( const QString& ) const; 00037 QString toolTip( const QString& ) const; 00038 QString whatsThis( const QString& ) const; 00039 bool isContainer( const QString& ) const; 00040 }; 00041 00042 #endif