summaryrefslogtreecommitdiffstats
path: root/src/convert_sqlite3.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/convert_sqlite3.h')
-rw-r--r--src/convert_sqlite3.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/convert_sqlite3.h b/src/convert_sqlite3.h
new file mode 100644
index 0000000..4f23bf5
--- /dev/null
+++ b/src/convert_sqlite3.h
@@ -0,0 +1,35 @@
+/***************************************************************************
+* Copyright (C) 2005 by *
+* Jason Kivlighn ([email protected] *
+* *
+* This program is free software; you can redistribute it and/or modify *
+* it under the terms of the GNU General Public License as published by *
+* the Free Software Foundation; either version 2 of the License, or *
+* (at your option) any later version. *
+***************************************************************************/
+
+#ifndef CONVERT_SQLITE3_H
+#define CONVERT_SQLITE3_H
+
+#include <tqobject.h>
+
+class KProcIO;
+
+class ConvertSQLite3 : public TQObject
+{
+TQ_OBJECT
+
+public:
+ ConvertSQLite3( const TQString &db_file = TQString::null );
+ ~ConvertSQLite3();
+
+public slots:
+ void processOutput( KProcIO* p );
+
+private:
+ bool copyFile( const TQString &oldFilePath, const TQString &newFilePath );
+
+ bool error;
+};
+
+#endif //CONVERT_SQLITE3_H