![]() Registered Member ![]()
|
I'm currently trying to (among other things) writing a "Modular* Development Environment" for KDE4
I currently have a very odd problem though. This is the file listing source in my MDE: [files][main.cpp] lang=C++ name=Main File url=/home/ryan/mde/kde4/main.cpp [files][mfile.h] lang=C++ name=MFile Description url=/home/ryan/mde/kde4/mfile.h [files][mfile.cpp] lang=C++ name=MFile implementation url=/home/ryan/mde/kde4/mfile.cpp [files][mproj.h] lang=C++ name=MProj Description url=/home/ryan/mde/kde4/mproj.h [files][mproj.cpp] lang=C++ name=MProj implementation url=/home/ryan/mde/kde4/mproj.cpp [files][mwin.h] lang=C++ name=MWindow Description url=/home/ryan/mde/kde4/mwin.h [files][mwin.cpp] lang=C++ name=MWindow Implementation url=/home/ryan/mde/kde4/mwin.cpp Problem is though is that this code (trimed a tad, all under the GPL) for reading through the descriptins of the files is getting it in the wrong order. int i; KConfigGroup *desc; //description of the file for(i = 0; i url( desc->readEntry("url", QString()) ); _files[i]->name( desc->readEntry("name", QString()) ); _files[i]->lang( desc->readEntry("lang", QString()) ); delete desc; } Could someone please explain what is happening? IF you have any critiques that would be good also but remember that this is _very_ pre-alpha code. *Think IDE-like use once your project is configured.. |
Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]