Files
sqlitebrowser/src/RemoteDock.h
Martin Kleusberg bbbadba732 dbhub: Open the user's directory by default
When 'logging in' or refreshing the view, look for the user's directory
and open it by default.
2017-08-13 15:12:50 +02:00

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