filters
kspread_kexiimportdialog.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef KSPREAD_KEXIIMPORTDIALOG_H
00030 #define KSPREAD_KEXIIMPORTDIALOG_H
00031
00032 #include "kspread_kexiimportdialogbase.h"
00033 #include <koffice_export.h>
00034
00035 namespace KexiDB
00036 {
00037 class Connection;
00038 class ConnectionData;
00039 class DriverManager;
00040 class Driver;
00041 class TableOrQuerySchema;
00042 }
00043
00044 namespace KSpread
00045 {
00046 class View;
00047 }
00048
00049 class KListViewItem;
00050
00051 class KSpreadKexiImportDialog : public KSpreadKexiImportDialogBase
00052 {
00053 Q_OBJECT
00054
00055 private:
00056
00057 void populateTables();
00058 void populateSheets();
00059 KexiDB::Connection *conn;
00060 KexiDB::DriverManager *dm;
00061
00062 KSpread::View *m_kspreadView;
00063 public:
00064
00070 KSpreadKexiImportDialog(QWidget* parent = 0, const char* name = 0);
00071
00075 virtual ~KSpreadKexiImportDialog();
00076
00077 void openDatabase(QString,KexiDB::ConnectionData *cdata);
00078 KexiDB::Connection *connection()
00079 {
00080 return conn;
00081 };
00082
00083 bool customQuery();
00084 QString customQueryString();
00085 int conversion();
00086 QPtrList<QListViewItem> selectedItems();
00087
00088 protected slots:
00089
00100 virtual void accept();
00101
00111 virtual void reject();
00112
00113 signals:
00114
00123 void insertKexi();
00124 };
00125
00126
00127 #endif
|