File indexing completed on 2025-11-02 03:43:19
0001 /* 0002 File : ImportSQLDatabaseDialog.h 0003 Project : LabPlot 0004 Description : import SQL database dialog 0005 -------------------------------------------------------------------- 0006 SPDX-FileCopyrightText: 2016-2023 Alexander Semke <alexander.semke@web.de> 0007 SPDX-License-Identifier: GPL-2.0-or-later 0008 */ 0009 0010 #ifndef IMPORTSQLDATABASEDIALOG_H 0011 #define IMPORTSQLDATABASEDIALOG_H 0012 0013 #include "kdefrontend/datasources/ImportDialog.h" 0014 0015 class ImportSQLDatabaseWidget; 0016 class MainWin; 0017 class QStatusBar; 0018 0019 class ImportSQLDatabaseDialog : public ImportDialog { 0020 Q_OBJECT 0021 0022 public: 0023 explicit ImportSQLDatabaseDialog(MainWin*); 0024 ~ImportSQLDatabaseDialog() override; 0025 0026 void importTo(QStatusBar*) const override; 0027 QString selectedObject() const override; 0028 0029 private: 0030 ImportSQLDatabaseWidget* importSQLDatabaseWidget; 0031 0032 protected Q_SLOTS: 0033 void checkOkButton() override; 0034 }; 0035 0036 #endif // IMPORTSQLDATABASEDIALOG_H