?? ftplogin.h
字號:
#ifndef FTPLOGIN_H
#define FTPLOGIN_H
#include <QObject>
#include <QtNetwork>
class FtpLogin : public QObject
{
Q_OBJECT
public:
FtpLogin(QObject *parent = 0);
~FtpLogin();
bool logIn(const QUrl &);
signals:
void done();
private slots:
void ftpDone(bool);
void ftpcommandStarted(int);
void ftpcommandFinished(int,bool);
private:
int connectId;
int loginId;
int closeId;
QFtp ftp;
};
#endif // FTPLOGIN_H
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -