You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdevelop/languages/cpp/app_templates/kapp
Timothy Pearson abcbb68498
Rename obsolete tq methods to standard names
13 years ago
..
.kdev_ignore Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
CMakeLists.txt Additional renaming of kde to tde 13 years ago
Makefile.am Additional renaming of kde to tde 13 years ago
README Rename KDEHOME and KDEDIR 13 years ago
app.cpp Additional renaming of kde to tde 13 years ago
app.desktop Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
app.h TQt4 port kdevelop 14 years ago
app.kdevses Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
app.tdevelop Finish rename from prior commit 13 years ago
app_client.cpp Trinity Qt initial conversion 14 years ago
appiface.h Trinity Qt initial conversion 14 years ago
appui.rc Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
appview.cpp Rename obsolete tq methods to standard names 13 years ago
appview.h rename the following methods: 13 years ago
kapp.kdevtemplate Additional renaming of kde to tde 13 years ago
kapp.png Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
main.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
pref.cpp Rename obsolete tq methods to standard names 13 years ago
pref.h rename the following methods: 13 years ago
src-Makefile.am Rename additional instances of KDE to TDE 13 years ago
subdirs Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago

README

-----------------------------------------------
Kde application framework template quickstart
Author: Thomas Nagy
Date: 2004-03-22
-----------------------------------------------

This README file explains you basic things for starting with
this application template.


** Building and installing **

* Build the configure script by "make -f Makefile.cvs"

* To clean, use "make clean", and to clean everything 
(remove the makefiles, etc), use "make distclean"

* To distribute your program, try "make dist".
This will make a compact tarball archive of your release with the
necessary scripts inside.

* Modifying the auto-tools scripts
for automake scripts there is an excellent tutorial there :
http://developer.kde.org/documentation/other/makefile_am_howto.html

* Simplify your life : install the project in your home directory for
testing purposes.
./configure --prefix=/home/user/dummyfolder/
In the end when you finished the development you can
rm -rf /home/user/dummyfolder/
without fear.


** Technologies **

* Build the menus of your application easily
kde applications now use an xml file (*ui.rc file) to build the menus.
This allow a great customization of the application. However, when
programming the menu is shown only after a "make install"

For more details, consult :
http://devel-home.kde.org/~larrosa/tutorial/p9.html
http://developer.kde.org/documentation/tutorials/xmlui/preface.html

* Use KConfig XT to create your configuration dialogs and make 
them more maintainable.

For more details, consult :
http://developer.kde.org/documentation/tutorials/kconfigxt/kconfigxt.html

* With KParts, you can embed other kde components in your program, or make your program
embeddable in other apps. For example, the kmplayer kpart can be called to play videos
in your app.

For more details, consult :
http://www-106.ibm.com/developerworks/library/l-kparts/
http://developer.kde.org/documentation/tutorials/dot/writing-plugins.html
http://developer.kde.org/documentation/tutorials/developing-a-plugin-structure/index.html

* With dcop, you can control your app from other applications
Make sure to include K_DCOP and a kdcop: section in your .h file
http://developer.kde.org/documentation/tutorials/dot/dcopiface/dcop-interface.html


** Documentation **

* For the translations :
1. Download a patched gettext which can be found at:
 http://public.kde.planetmirror.com/pub/kde/devel/gettext-kde/
2. Install that gettext in ~/bin/
3. cd ~/yourproject, export PATH=~/bin:$PATH, export
TDEDIR=/where_your_KDE3_is
4. make -f admin/Makefile.common package-messages
5. make package-messages
6. Translate the po files (not the pot!!) with kbabel or xemacs

* Do not forget to write the documentation for your kde app 
edit the documentation template index.docbook in doc/