mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
When 'logging in' or refreshing the view, look for the user's directory and open it by default.
41 lines
646 B
C++
41 lines
646 B
C++
#ifndef REMOTEDOCK_H
|
|
#define REMOTEDOCK_H
|
|
|
|
#include <QDialog>
|
|
|
|
class RemoteDatabase;
|
|
class RemoteModel;
|
|
class MainWindow;
|
|
|
|
namespace Ui {
|
|
class RemoteDock;
|
|
}
|
|
|
|
class RemoteDock : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit RemoteDock(MainWindow* parent);
|
|
~RemoteDock();
|
|
|
|
void reloadSettings();
|
|
void enableButtons();
|
|
|
|
private slots:
|
|
void setNewIdentity();
|
|
void fetchDatabase(const QModelIndex& idx);
|
|
void pushDatabase();
|
|
void newDirectoryNode(const QModelIndex& parent);
|
|
|
|
private:
|
|
Ui::RemoteDock* ui;
|
|
|
|
MainWindow* mainWindow;
|
|
|
|
RemoteDatabase& remoteDatabase;
|
|
RemoteModel* remoteModel;
|
|
};
|
|
|
|
#endif
|