#include #include #include #include #include #include #include struct Property { QString retType; QString name; QString type; QString desc; }; struct Param { QString name; QString type; QString desc; }; typedef QVector ParamList; typedef QVector ParamSetList; struct Event { ParamList params; QString wslot; QString wsignal; QString signal; QString desc; QString name; }; struct Method { ParamSetList params; bool vparamstyle; bool ctor; QString name; QString retType; QString desc; }; struct Class { QString type; QString name; QVector props; QVector methods; QVector events; }; int main(int argc, char *argv[]) { QTime t; t.start(); Q_UNUSED(argc) Q_UNUSED(argv) QDomDocument doc; QFile loc(*(argv+1)); QDomElement root; QVector classList; loc.open(QIODevice::ReadOnly); doc.setContent(&loc); root = doc.documentElement(); QDomNodeList classes = root.elementsByTagName("class"); for(unsigned int i=0; i"<"<"<KWinScripting :: APIDoX"<"<"<"<"<"<"<["<]"<"<Events"<"<"<"<"<"< 0) { std::cout<<"
    "<"<: "<"<"<"<"<"<Methods"<"<"<[constructor]"; } if(here.methods.at(j).vparamstyle) { std::cout<<"[variable parameter styles]"; } std::cout<<""<"<"<"<"<"<"<"<"<"<"<"<"<: "<"<"<"<"<"<"<Properties"<"<"<["<"<"<"<"<"<"<"<"<"; return 0; }