Registered Member
|
Hey, I'm interested in working on ktorrent, but I'm not sure what I need to know to do that. I've loaded the project in KDevelop and looked around, but it's quite a bit to take in. Any specific suggestions on what to learn to make sense of the source?
|
Moderator
|
|
Registered Member
|
|
Registered Member
|
|
Registered Member
|
First off, thanks for the reply. I built the doxygen docs in kdevelop and have started snooping around and found bt::TorrentControl which seems to be the heart of the system. I'm not sure which interfaces belong to libktorrent and which not, doxygen just gives me namespaces like bt, kt. Any specific interfaces I can look for?
#2: How do I build KTorrent in KDevelop? It complains of no Makefile or autogen.sh present. |
Registered Member
|
|
Registered Member
|
|
Registered Member
|
|
Registered Member
|
Alright, will download from SVN later. I'm still somewhat new to Qt, and I'm used to having a main widget in main.cpp before the QApplication (or KApplication in this case) going into its execution loop. What is the main widget here? If it's too hard to answer, I was hoping you could direct me to some documentation about how that works.
|
Registered Member
|
|
Registered Member
|
|
Registered Member
|
|
Moderator
|
|
Registered Member
|
OK, So I checked in the newInstance function inherited from KUniqueApplication http://developer.kde.org/documentation/library/3.5-api/kdelibs-apidocs/kdecore/html/kuniqueapplication_8cpp-source.html#l00466
It seems to depend on there being a main widget defined somewhere, but in KTorrent's main.cpp I couldn't find one. Also: I downloaded the SVN from 4/28 but it's not compiling in KDevelop either, complains about no active targets. |
Moderator
|
The main widget is created in KTorrentApp::newInstance, we override the one defined in KUniqueApplication
Try it from the commandline then. |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]