?? ckpath.cpp
字號:
#include "src/svnqt/path.hpp"#include <iostream>int main(int,char**){ svn::Path pa("/test/foo/bar/"); if (pa.path()!=QString("/test/foo/bar")) { std::cout << "No cleanup of components" << std::endl; return -1; } pa.removeLast(); if (pa.path()!=QString("/test/foo")) { std::cout<<"removeLast didn't work." << std::endl; return -1; } unsigned j = 0; while (pa.length()>0) { std::cout << pa.path() << std::endl; pa.removeLast(); ++j; } return 0;}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -