author | eilers <eilers> | 2004-04-28 10:40:10 (UTC) |
---|---|---|
committer | eilers <eilers> | 2004-04-28 10:40:10 (UTC) |
commit | 0c9020f9016ec7058b6aef3fda36865f293f4f4a (patch) (unidiff) | |
tree | 1aa0de19d395ebf5ff5a7339bb4f24d37a91b6fa /noncore/tools/pimconverter/converter.h | |
parent | 7784d05b07dc65eab1754497e71fbf56d714b048 (diff) | |
download | opie-0c9020f9016ec7058b6aef3fda36865f293f4f4a.zip opie-0c9020f9016ec7058b6aef3fda36865f293f4f4a.tar.gz opie-0c9020f9016ec7058b6aef3fda36865f293f4f4a.tar.bz2 |
First demo release of the PIM database conversion tool..
Diffstat (limited to 'noncore/tools/pimconverter/converter.h') (more/less context) (show whitespace changes)
-rwxr-xr-x | noncore/tools/pimconverter/converter.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/noncore/tools/pimconverter/converter.h b/noncore/tools/pimconverter/converter.h new file mode 100755 index 0000000..27d7fb2 --- a/dev/null +++ b/noncore/tools/pimconverter/converter.h | |||
@@ -0,0 +1,40 @@ | |||
1 | #ifndef _CONVERTER_H_ | ||
2 | #define _CONVERTER_H_ | ||
3 | |||
4 | |||
5 | #include "converter_base.h" | ||
6 | |||
7 | |||
8 | class Converter: public converter_base { | ||
9 | public: | ||
10 | Converter(); | ||
11 | |||
12 | // Slots defined in the ui-description file | ||
13 | void start_conversion(); | ||
14 | void selectedDatabase( int num ); | ||
15 | void selectedDestFormat( int num ); | ||
16 | void selectedSourceFormat( int num ); | ||
17 | |||
18 | private: | ||
19 | // Caution: | ||
20 | // The order and value of the following enums must be regarding | ||
21 | // the predefinition in the UI-File !! | ||
22 | enum DataBases{ | ||
23 | ADDRESSBOOK = 0, | ||
24 | TODOLIST = 1, | ||
25 | DATEBOOK = 2, | ||
26 | }; | ||
27 | |||
28 | enum DbFormats{ | ||
29 | XML = 0, | ||
30 | SQL = 1, | ||
31 | }; | ||
32 | |||
33 | int m_selectedDatabase; | ||
34 | int m_selectedSourceFormat; | ||
35 | int m_selectedDestFormat; | ||
36 | |||
37 | }; | ||
38 | |||
39 | |||
40 | #endif | ||