diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2009-03-24 23:08:41 -0400 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2009-03-24 23:08:41 -0400 |
commit | 56a35e17ed7c704b964ac5ef24f6deee30efbc5a (patch) | |
tree | 6748a603f4642e22f37a1dc2c6e2519bc0591838 /sigtools/PluginModel.h | |
parent | 12b460b7c0058315a3bbb1c0e74cf9951a13e1fb (diff) | |
download | sigen-56a35e17ed7c704b964ac5ef24f6deee30efbc5a.tar.gz sigen-56a35e17ed7c704b964ac5ef24f6deee30efbc5a.tar.xz sigen-56a35e17ed7c704b964ac5ef24f6deee30efbc5a.zip |
Add painting algorithms for PluginModel and spacing variables in BaseModel
Diffstat (limited to 'sigtools/PluginModel.h')
-rw-r--r-- | sigtools/PluginModel.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sigtools/PluginModel.h b/sigtools/PluginModel.h index a1bca8fb..354ca900 100644 --- a/sigtools/PluginModel.h +++ b/sigtools/PluginModel.h @@ -24,9 +24,14 @@ // KDE includes #include <KService> +// Qt includes +#include <QtGui/QPixmap> + +// Forward declarations +class KPluginInfo; + namespace Sigtools { -// Forward declarations class ClassModel; class PluginTypeModel; @@ -47,8 +52,11 @@ class SIGTOOLS_NO_EXPORT PluginModel : public BaseModel BaseModel* childItem(const int row); protected: int findChild(BaseModel* model) const; + void redraw(const int width) const; const KService::Ptr m_service; + const KPluginInfo* m_info; + mutable QPixmap m_pixmap; QList<ClassModel*> m_classes; }; } |