00001 #ifndef __OAPPPLUGIN_H 00002 #define __OAPPPLUGIN_H 00003 00004 #include "oappinterface.h" 00005 #include <qlist.h> 00006 #include <qpe/quuid.h> 00007 00008 class QWidget; 00009 00010 class OAppPlugin : public OAppInterface 00011 { 00012 public: 00013 OAppPlugin(OAppPos pos = midPos); 00014 OAppPlugin(QWidget *widget, OAppPos pos = midPos); 00015 virtual ~OAppPlugin(); 00016 00017 QList<QWidget> widgets(); 00018 OAppPos position() const; 00019 00020 #ifndef QT_NO_COMPONENT 00021 QRESULT queryInterface( const QUuid &uuid, QUnknownInterface **iface ); 00022 Q_REFCOUNT 00023 #endif 00024 00025 private: 00026 QList<QWidget> m_widgets; 00027 OAppPos m_position; 00028 }; 00029 00030 #endif // __OAPPPLUGIN_H
1.4.2