* Removed build dependencies: - libfm-dev - liblxqt0-dev * Bumped minimum versions - libfm-qt-dev (>= 0.11.2) - lxqt-build-tools (>= 0.3.0) - libfm-qt3 (>= 0.11.2) * Suggests: cdtool -> cdtool [linux-any]
39 lines
648 B
C++
39 lines
648 B
C++
#ifndef CONNECTSERVERDIALOG_H
|
|
#define CONNECTSERVERDIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include <QList>
|
|
#include "ui_connect.h"
|
|
|
|
namespace PCManFM {
|
|
|
|
class ConnectServerDialog : public QDialog {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
ConnectServerDialog(QWidget* parent=nullptr);
|
|
virtual ~ConnectServerDialog();
|
|
|
|
QString uriText();
|
|
|
|
private:
|
|
struct ServerType {
|
|
QString name;
|
|
const char* scheme;
|
|
int defaultPort;
|
|
bool canAnonymous;
|
|
};
|
|
|
|
private Q_SLOTS:
|
|
void onCurrentIndexChanged(int index);
|
|
void checkInput();
|
|
|
|
private:
|
|
Ui::ConnectServerDialog ui;
|
|
QList<ServerType> serverTypes;
|
|
};
|
|
|
|
} // namespace PCManFM
|
|
|
|
#endif // CONNECTSERVERDIALOG_H
|