projects
/
ptas
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changes: fixed buttons and table
[ptas]
/
zouba
/
uicontroller.h
diff --git
a/zouba/uicontroller.h
b/zouba/uicontroller.h
index
f524a42
..
d7c2afb
100644
(file)
--- a/
zouba/uicontroller.h
+++ b/
zouba/uicontroller.h
@@
-2,6
+2,7
@@
#define UICONTROLLER_H
#include "routedata.h"
#define UICONTROLLER_H
#include "routedata.h"
+#include "location.h"
#include <QObject>
#include <QObject>
@@
-19,10
+20,21
@@
public Q_SLOTS:
void displayRoute( const RouteData &routeData );
Q_SIGNALS:
void displayRoute( const RouteData &routeData );
Q_SIGNALS:
- void homePressed();
+ void buttonClicked();
+ void destinationChanged( Location newDestination );
+
+private Q_SLOTS:
+ void changeDestination( int id );
+ void setHomeButtonValid();
+ void setWorkButtonValid();
+
+private:
+ void setButtonValid( int id );
private:
private:
+ QList<Location*> destination;
Ui *ui;
Ui *ui;
+ int currentDestination;
};
#endif // UICONTROLLER_H
};
#endif // UICONTROLLER_H