From 0c9020f9016ec7058b6aef3fda36865f293f4f4a Mon Sep 17 00:00:00 2001 From: eilers Date: Wed, 28 Apr 2004 10:40:10 +0000 Subject: First demo release of the PIM database conversion tool.. --- (limited to 'noncore/tools/pimconverter/converter.h') 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 @@ +#ifndef _CONVERTER_H_ +#define _CONVERTER_H_ + + +#include "converter_base.h" + + +class Converter: public converter_base { +public: + Converter(); + + // Slots defined in the ui-description file + void start_conversion(); + void selectedDatabase( int num ); + void selectedDestFormat( int num ); + void selectedSourceFormat( int num ); + +private: + // Caution: + // The order and value of the following enums must be regarding + // the predefinition in the UI-File !! + enum DataBases{ + ADDRESSBOOK = 0, + TODOLIST = 1, + DATEBOOK = 2, + }; + + enum DbFormats{ + XML = 0, + SQL = 1, + }; + + int m_selectedDatabase; + int m_selectedSourceFormat; + int m_selectedDestFormat; + +}; + + +#endif -- cgit v0.9.0.2