author | alwin <alwin> | 2004-02-26 15:33:31 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-02-26 15:33:31 (UTC) |
commit | 42eb413737eb6e911867e1b9c0f5b6cf81c677fd (patch) (side-by-side diff) | |
tree | b32284f8cec0f584151f0826fd121c153fc07601 /noncore/apps/keyz-cfg/main.cpp | |
parent | d26a7814b7b454583a136a78aeb7016467ec9ff8 (diff) | |
download | opie-42eb413737eb6e911867e1b9c0f5b6cf81c677fd.zip opie-42eb413737eb6e911867e1b9c0f5b6cf81c677fd.tar.gz opie-42eb413737eb6e911867e1b9c0f5b6cf81c677fd.tar.bz2 |
Yeah - zkb fixed and working within OPIE.
Diffstat (limited to 'noncore/apps/keyz-cfg/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/keyz-cfg/main.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/noncore/apps/keyz-cfg/main.cpp b/noncore/apps/keyz-cfg/main.cpp new file mode 100644 index 0000000..264db20 --- a/dev/null +++ b/noncore/apps/keyz-cfg/main.cpp @@ -0,0 +1,24 @@ +#include <stdio.h> +#include <qpe/qpeapplication.h> +#include <qpe/qcopenvelope_qws.h> +#include <qmainwindow.h> + +#include "cfgfile.h" +#include "cfgdlg.h" + +int main( int argc, char **argv ) { + QPEApplication app(argc, argv); + CfgFile cfile; + CfgParser cp; + cp.load(QPEApplication::qpeDir()+"/share/zkb/zkb.xml", cfile); + + QMainWindow m; + CfgDlg c(&m, &cfile, &app); + app.showMainWidget(&m); + m.hide(); + c.showMaximized(); + + int ret = app.exec(); + + return ret; +} |