author | eilers <eilers> | 2004-10-23 12:05:13 (UTC) |
---|---|---|
committer | eilers <eilers> | 2004-10-23 12:05:13 (UTC) |
commit | aac8188fde70fc5cfa9f44c6a80a907e44f0f1eb (patch) (side-by-side diff) | |
tree | 37b683afa01b06245f81ff13cf8362e9f6ab9378 /noncore/tools/pimconverter/converter.h | |
parent | f2a2eca1870e1fd88c82a6ccb039610949daa72c (diff) | |
download | opie-aac8188fde70fc5cfa9f44c6a80a907e44f0f1eb.zip opie-aac8188fde70fc5cfa9f44c6a80a907e44f0f1eb.tar.gz opie-aac8188fde70fc5cfa9f44c6a80a907e44f0f1eb.tar.bz2 |
Pimconverter got a button to convert databases from sqlite 2->3.
If correct implementation is confirmed, I will commit the rest..
Diffstat (limited to 'noncore/tools/pimconverter/converter.h') (more/less context) (ignore whitespace changes)
-rwxr-xr-x | noncore/tools/pimconverter/converter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/tools/pimconverter/converter.h b/noncore/tools/pimconverter/converter.h index 344562a..9d75d79 100755 --- a/noncore/tools/pimconverter/converter.h +++ b/noncore/tools/pimconverter/converter.h @@ -3,34 +3,36 @@ #include "converter_base.h" class Converter: public converter_base { public: Converter(QWidget *parent, const char* name, WFlags fl); static QString appName() { return QString::fromLatin1("opimconverter");} // Slots defined in the ui-description file void start_conversion(); + void start_upgrade(); void selectedDatabase( int num ); void selectedDestFormat( int num ); void selectedSourceFormat( int num ); void closeEvent( QCloseEvent *e ); private: // Caution: // The order and value of the following enums must be regarding // the predefinition in the UI-File !! + // If you don't understand what I am talking about: Keep your fingers away!! enum DataBases{ ADDRESSBOOK = 0, TODOLIST = 1, DATEBOOK = 2, }; enum DbFormats{ XML = 0, SQL = 1, }; int m_selectedDatabase; |