summaryrefslogtreecommitdiffstats
path: root/sigtools/RootPluginModel.h
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-03-25 02:25:50 -0400
committerBen Boeckel <MathStuf@gmail.com>2009-03-25 02:25:50 -0400
commitf68f7434b47502f2853638e8041a15ef62035879 (patch)
treed7b411b41745a62eb1e9e579d74e913ad77ec77e /sigtools/RootPluginModel.h
parentaad586616b64fae819de93594c83b815071bce2d (diff)
downloadsigen-f68f7434b47502f2853638e8041a15ef62035879.tar.gz
sigen-f68f7434b47502f2853638e8041a15ef62035879.tar.xz
sigen-f68f7434b47502f2853638e8041a15ef62035879.zip
Move the paint and sizeHint down to BaseModel
Diffstat (limited to 'sigtools/RootPluginModel.h')
-rw-r--r--sigtools/RootPluginModel.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sigtools/RootPluginModel.h b/sigtools/RootPluginModel.h
index fbb5090f..ea170aa1 100644
--- a/sigtools/RootPluginModel.h
+++ b/sigtools/RootPluginModel.h
@@ -40,14 +40,12 @@ class SIGTOOLS_NO_EXPORT RootPluginModel : public BaseModel
Qt::ItemFlags flags() const;
- void paint(QPainter* painter, const QStyleOptionViewItem& option) const;
- QSize sizeHint(const QStyleOptionViewItem& option) const;
-
BaseModel* childItem(const int row);
void addPlugin(const QString& type, KService::Ptr service);
protected:
int findChild(BaseModel* model) const;
+ void redraw(const int width) const;
QMap<QString, PluginTypeModel*> m_types;
};