diff options
author | Christian Kamm <christian.d.kamm@nokia.com> | 2010-02-26 11:03:56 +0100 |
---|---|---|
committer | Christian Kamm <christian.d.kamm@nokia.com> | 2010-02-26 11:03:56 +0100 |
commit | 1b158abe4f9c696f77cc8530691297536ec48fb7 (patch) | |
tree | 99b0a65dfff074706ef812bb07c7e82b42c1b4ad /example | |
parent | 40c3f2af63cd3c584f355e49d1b2b19be579ce60 (diff) |
Move power and battery button to remote control widget repo.
Diffstat (limited to 'example')
-rw-r--r-- | example/main.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/example/main.cpp b/example/main.cpp index 1274a5b..b36749e 100644 --- a/example/main.cpp +++ b/example/main.cpp @@ -1,6 +1,8 @@ #include <QtGui/QApplication> #include "remotecontrolwidget.h" -#include "locationui.h" +#include "components/locationui.h" +#include "components/batterybutton.h" +#include "components/powerbutton.h" int main(int argc, char *argv[]) { @@ -8,6 +10,12 @@ int main(int argc, char *argv[]) RemoteControlWidget w; LocationUi l(&w); + BatteryButton batteryButton; + w.addMenuButton(&batteryButton); + + PowerButton powerButton; + w.addMenuButton(&powerButton); + w.show(); return a.exec(); } |