Copyright file added.
[jspeed] / src / buttonselector.h
index e36c159..05213be 100644 (file)
@@ -39,6 +39,7 @@ public:
     int indexOfValue(QVariant const& value) const;
     bool selectByValue(QVariant const& value);
     int currentIndex() const;
+    int size() const;
     bool changeItem(unsigned int index, QString const& text);
     bool changeItem(unsigned int index, QString const& text, QVariant const& value);
     bool removeItem(unsigned int index);
@@ -47,7 +48,7 @@ public:
     QVariant value() const;
 
 signals:
-    void selected(unsigned int index, QString const& text, QVariant const& value);
+    void selected();
 
 private slots:
     void onSelected(QString const& text);