This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Writing a Bit Torrent client

Tags: None
(comma "," separated)
Shining Arcanine
Registered Member
Posts
73
Karma
0
OS

Writing a Bit Torrent client

Mon Jul 19, 2010 3:51 am
I would like to try to write a Bit Torrent client using the libktorrent and Qt4 libraries. Before anyone tries to discourage me from attempting this, I would like to explain my rationale for it, which focuses on a few key points.

  1. I am a senior computer science student. I excel in my programming classes (and I do well in theory classes as well), but I know that I could be great at doing these small one-shot assignments, but be horrible at something larger, so I would like to write an application outside the scope of my university's curriculum to demonstrate to myself that I am capable of doing more than just the assignments that my professors fabricate. While this is primarily something I want to demonstrate to myself, it also has the secondary, practical benefit of being something that I could put on my resume.
  2. I wrote a brief rant in another thread I started about KTorrent and its lack of user friendliness, which gave me the idea of doing this.
  3. I will likely be helping a professor teach a class on C++ this fall, but it feels like ages since I wrote code in C++. I want to be a resource for students, so I feel a need to practice my C++ skills.

With that in mind, I would like to try writing a bit torrent client. I have a few questions that I hope someone here could answer for me.

  1. Does libktorrent have API documentation available so that I do not need to read its source code to figure out what is what?
  2. My GUI programming experience is limited to the Java API because my university's computer science department standardized its curriculum on Java. Are there any resources for Qt that could enable me to start doing GUI programming with it quickly with my background?
  3. I am not an artistic person. Are there any free icons available that I could use in my own program to avoid having to create my own?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Writing a Bit Torrent client

Mon Jul 19, 2010 4:47 am
If you are looking for icons, I would recommend looking at Oxygen.
It is located in KDE SVN, browsable at http://websvn.kde.org/trunk/kdesupport/oxygen-icons/

For Qt, you can find documentation at http://doc.qt.nokia.com
In particular, you may wish to look at the Tutorials, Examples and Demonstrations provided.

A quick look at the source folder of libktorrent in SVN reveals that it appears to have the ability to generate documentation be part of its build process if Doxygen is installed.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS

Re: Writing a Bit Torrent client

Tue Jul 20, 2010 9:28 am
Additional info regarding icons: when using KDE's icon loader, all icons following the standard icon naming scheme can be loaded by name, independent of which icon theme is installed and selected by the user.

Some applications needs additional icons which they provide themselves, but certain macros in their CMakeLists.txt build files make sure they are installed properly and thus also accessible through the loader.

A less flexible but perhaps easier to get going with alternative Qt's resource embedding system: http://doc.qt.nokia.com/4.6/resources.html

Cheers,
_


anda_skoa, proud to be a member of KDE forums since 2008-Oct.


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]