styleinterface.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef STYLEINTERFACE_H
00017 #define STYLEINTERFACE_H
00018
00019 #include <qpe/qcom.h>
00020
00021 #ifndef QT_NO_COMPONENT
00022
00023
00024 #ifndef IID_Style
00025 #define IID_Style QUuid( 0x17af792c, 0xe461, 0x49a9, 0x9b, 0x71, 0x06, 0x8b, 0x9a, 0x8d, 0xda, 0xe4)
00026 #endif
00027
00028
00029 # ifndef IID_StyleExtended
00030 # define IID_StyleExtended QUuid( 0x6c33b4f9, 0xd529, 0x453a, 0x8f, 0xb3, 0xda, 0x42, 0xb2, 0x18, 0x72, 0xbd)
00031 #endif
00032
00033 #endif
00034
00035 class QWidget;
00036 class QStyle;
00037
00038
00039 class QStyle;
00040
00041 struct StyleInterface : public QUnknownInterface
00042 {
00044 virtual QStyle *style() = 0;
00046 virtual QString name() const = 0;
00047 };
00048
00049 struct StyleExtendedInterface : public StyleInterface
00050 {
00052 virtual QString description ( ) const = 0;
00053
00055 virtual bool hasSettings ( ) const = 0;
00056
00058 virtual QWidget *create ( QWidget *parent, const char *name = 0 ) = 0;
00059
00061 virtual bool accept ( ) = 0;
00062
00064 virtual void reject ( ) = 0;
00065 };
00066
00067 #endif
This file is part of the documentation for OPIE Version 1.5.5.