mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 11:00:44 -06:00
Make most variables, functions, slots etc. private instead of public. Also make the constructors explicit.
34 lines
582 B
C++
34 lines
582 B
C++
#ifndef __IMPORTCSVDIALOG_H__
|
|
#define __IMPORTCSVDIALOG_H__
|
|
|
|
#include <QDialog>
|
|
class DBBrowserDB;
|
|
|
|
namespace Ui {
|
|
class ImportCsvDialog;
|
|
}
|
|
|
|
class ImportCsvDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ImportCsvDialog(QString filename, DBBrowserDB* db, QWidget* parent = 0);
|
|
~ImportCsvDialog();
|
|
|
|
private slots:
|
|
virtual void accept();
|
|
virtual void updatePreview();
|
|
virtual void checkInput();
|
|
|
|
private:
|
|
Ui::ImportCsvDialog* ui;
|
|
QString csvFilename;
|
|
DBBrowserDB* pdb;
|
|
|
|
char currentQuoteChar();
|
|
char currentSeparatorChar();
|
|
};
|
|
|
|
#endif
|