QTfrontend/pageoptions.h
changeset 6024 d38da7c19e43
parent 6009 14f6fc9869f2
child 6042 8b5345758f62
--- a/QTfrontend/pageoptions.h	Sun Sep 25 16:09:55 2011 +0200
+++ b/QTfrontend/pageoptions.h	Sun Sep 25 19:30:10 2011 +0200
@@ -43,12 +43,8 @@
 
     QComboBox *CBLanguage;
 
-    IconedGroupBox *teamsBox;
-    QPushButton *BtnNewTeam;
-    QPushButton *BtnEditTeam;
-    QPushButton *BtnDeleteTeam;
+    IconedGroupBox *teamsBox;;
     QPushButton *BtnAssociateFiles;
-    QLabel *LblNoEditTeam;
     QComboBox *CBTeamName;
     IconedGroupBox *AGGroupBox;
     QComboBox *CBResolution;
@@ -76,10 +72,22 @@
     QSlider *SLQuality;
     QCheckBox *CBFrontendEffects;
 
+    void setTeamOptionsEnabled(bool enabled);
+
+signals:
+    void newTeamRequested();
+    void editTeamRequested(const QString & teamName);
+    void deleteTeamRequested(const QString & teamName);
+
+
 private:
     bool previousFullscreenValue;
     int previousResolutionIndex;
     int previousQuality;
+    QLabel *LblNoEditTeam;
+    QPushButton *BtnNewTeam;
+    QPushButton *BtnEditTeam;
+    QPushButton *BtnDeleteTeam;
     QPushButton *BtnBack;
 
 private slots:
@@ -88,6 +96,8 @@
     void setResolution(int state);
     void setQuality(int value);
     void trimNetNick();
+    void requestEditSelectedTeam();
+    void requestDeleteSelectedTeam();
 };
 
 #endif