rock_widget_collection  0.1
RockWidgetCollection.h
Go to the documentation of this file.
1 #ifndef ROCKWIDGETCOLLECTION_H
2 #define ROCKWIDGETCOLLECTION_H
3 
4 #include <QtDesigner/QtDesigner>
5 #include <QtCore/qplugin.h>
6 
7 class RockWidgetCollection: public QObject, public QDesignerCustomWidgetCollectionInterface
8 {
9  Q_OBJECT
10  Q_INTERFACES(QDesignerCustomWidgetCollectionInterface)
11 
12 public:
13  RockWidgetCollection(QObject *parent = 0);
14  virtual QList<QDesignerCustomWidgetInterface*> customWidgets() const;
15 
16 private:
17  QList<QDesignerCustomWidgetInterface*> widgets;
18 };
19 
20 #endif
virtual QList< QDesignerCustomWidgetInterface * > customWidgets() const
RockWidgetCollection(QObject *parent=0)