summaryrefslogtreecommitdiffstats
path: root/qt-ui/starwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/starwidget.h')
-rw-r--r--qt-ui/starwidget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/starwidget.h b/qt-ui/starwidget.h
index d92be5a98..68e3b2017 100644
--- a/qt-ui/starwidget.h
+++ b/qt-ui/starwidget.h
@@ -22,6 +22,7 @@ Q_SIGNALS:
public Q_SLOTS:
void setCurrentStars(int value);
+ void setReadOnly( bool readOnly);
protected:
/*reimp*/ void mouseReleaseEvent(QMouseEvent* );
@@ -32,6 +33,7 @@ private:
static QPixmap* activeStar;
static QPixmap* inactiveStar;
QPixmap grayImage(QPixmap *coloredImg);
+ bool readOnly;
};
#endif // STARWIDGET_H