Added png thumb icons and code to support them
[irwi] / src / remotetable.h
index e783cf7..af0e141 100644 (file)
@@ -7,6 +7,7 @@
 
 class QResizeEvent;
 class Remote;
+class QWidget;
 
 class RemoteTable : public QTableWidget
 {
@@ -19,12 +20,11 @@ public:
     Remote *selected();
 
 protected:
-    //void resizeEvent(QResizeEvent *);
+    void resizeEvent(QResizeEvent *);
 
 private:
     QMap<int, Remote*> remotes;
-    QString thumbsUp;
-    QString thumbsDown;
+    QWidget *selectRatingWidget(int rating);
 };
 
 #endif // _REMOTETABLE_H_