LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-10-2003, 05:28 AM   #1
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
Writing a simple KDE application


I hope this question hasn't been asked too many times, but I'll try to be original:

Most programming languages I've learned started with reading a nice book. At school, I've learned some basics about C++, but it's all simple console stuff. And I don't feel I'm learning C++ this way. I didn't have any chance to try something big, and learn why everything doesn't work


I'm thinking about playing with existing kde applications (especially kmess), creating a simple puzzle game, or writing a small control-panel applet myself. (eg. something useful for newbies). This idea is in my mind for some time, but I wouldn't know where to start. Could you please give me some pointers where to look, and what design/code rules to follow; since I want to integrate this tool with KDE as much as I can.

Last edited by yapp; 12-10-2003 at 05:31 AM.
 
Old 12-10-2003, 03:39 PM   #2
LogicG8
Member
 
Registered: Jun 2003
Location: Long Island, NY
Distribution: Gentoo Unstable (what a misnomer)
Posts: 380

Rep: Reputation: 30
I think your best bet is to start reading here:
http://developer.kde.org/
Read the tutorials play with the code

Look at small kde apps check out http://freshmeat.net
for ideas and samples

As a recommendation I'd suggest getting kdevelop
if you do not have it already as it will save you from having
to write a lot of boilerplate code.

For coding my only recommendation is: KISS
If things start getting complicated you did something wrong

The big switch you are going to have to deal with isn't so
much the new functions/objects/data types but the idea
of event oriented programming. On the console things are
a bit more simple b/c you can think through the actions of a
program in a simple linear manner (for the most part anyway).
With KDE (and every GUI I'm familiar with) You react to the
and the system in a mostly asynchronous way.

Good luck...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help writing a simple program justintime32 Mandriva 8 03-04-2005 08:12 PM
Linux Noob writing simple application that needs to query SQLServer radikaled Linux - Newbie 1 01-18-2005 11:26 AM
Help writing a simple script Garibaldi3489 Linux - General 10 12-18-2004 06:22 PM
Writing XML files from C++ application Ezeeckiel Programming 1 04-19-2004 03:06 AM
writing a RPM management application eantoranz Programming 10 01-21-2004 12:18 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration