?? main.cpp
字號(hào):
#include <QtCore>#include <iostream>#include "spider.h"using namespace std;int main(int argc, char *argv[]){ QCoreApplication app(argc, argv); QStringList args = app.arguments(); if (args.count() != 2) { cerr << "Usage: spider url" << endl << "Example:" << endl << " spider ftp://ftp.trolltech.com/freebies/leafnode" << endl; return 1; } Spider spider; if (!spider.getDirectory(QUrl(args[1]))) return 1; QObject::connect(&spider, SIGNAL(done()), &app, SLOT(quit()));}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -