Refactoring / code cleanup
[weightgraph] / weightgraph / editwindow.h
index 6a162c2..359fffc 100644 (file)
@@ -22,9 +22,11 @@ public slots:
   void addWeight();
   void removeSelected();
   void editSelected();
+  void show();
 private:
   WeightView weightView;
   QPushButton addButton, removeButton, editButton;
+  bool shown;
 };
 
 class AddWeightDialog : public QDialog
@@ -33,7 +35,6 @@ class AddWeightDialog : public QDialog
 public:
   AddWeightDialog(QWidget *parent=0);
   WeightDataModel::DateWeight getDateWeight();
-
 private:
 #ifdef Q_WS_MAEMO_5
   QMaemo5ValueButton *date;