NAME
kode - KDE code generator
SYNOPSIS
kode [Qt-options] [KDE-options] [options] [filename]
DESCRIPTION
Kode generates various types of C++ template files.
PROGRAM OPTIONS
- -c, --create-class
-
Create a class.
- -d, --create-dialog
-
Create a dialog.
- --create-kioslave
-
Create a kioslave.
- -y, --codify
-
Create generator code for the given source.
- --add-property
-
Add a property to the class.
- --inplace
-
Change the output file in place.
- --author-email <name>
-
Add an author with the given email address.
- --project <name>
-
Give the project name.
- --gpl
-
Use the GPL as the license.
- --lgpl
-
Use the LGPL as the license.
- --classname <name>
-
Specifies the name of the class.
- --namespace <name>
-
Specifies the namespace in which to place the class.
- --warning
-
Enable warnings about code generation.
- --qt-exception
-
Add a QT exception to the GPL.
- --singleton
-
Create a singleton class.
- --protocol
-
Specifies the kioslave protocol name.
- filename
-
Specifies the source code file name for output.
GENERIC OPTIONS
- --help
-
Show help about options.
- --help-qt
-
Show Qt specific options.
- --help-kde
-
Show KDE specific options.
- --help-all
-
Show all options.
- --author
-
Show author information.
- -v, --version
-
Show version information.
- --license
-
Show license information.
- --
-
End of options.
QT OPTIONS
- --display <displayname>
-
Use the X-server display `displayname'.
- --session <sessionId>
-
Restore the application for the given `sessionId'.
- --cmap
-
Causes the application to install a private color map on an 8-bit display.
- --ncols <count>
-
Limits the number of colors allocated in the color cube on an 8-bit display, if the application is using the QApplication::ManyColor color specification.
- --nograb
-
Tells Qt to never grab the mouse or the keyboard.
- --dograb
-
Running under a debugger can cause an implicit -nograb, use -dograb to override.
- --sync
-
Switches to synchronous mode for debugging.
- --fn, --font <fontname>
-
Defines the application font.
- --bg, --background <color>
-
Sets the default background color and an application palette (light and dark shades are calculated).
- --fg, --foreground <color>
-
Sets the default foreground color.
- --btn, --button <color>
-
Sets the default button color.
- --name <name>
-
Sets the application name.
- --title <title>
-
Sets the application title (caption).
- --visual TrueColor
-
Forces the application to use a TrueColor visual on an 8-bit display.
- --inputstyle <inputstyle>
-
Sets XIM (X Input Method) input style. Possible values are onthespot, overthespot, offthespot and root.
- --im <XIM server>
-
Set XIM server.
- --noxim
-
Disable XIM.
KDE OPTIONS
- --caption <caption>
-
Use `caption' as name in the titlebar.
- --icon <icon>
-
Use `icon' as the application icon.
- --miniicon <icon>
-
Use `icon' as the icon in the titlebar.
- --dcopserver <server>
-
Use the DCOP Server specified by `server'.
- --nocrashhandler
-
Disable crash handler, to get core dumps.
- --waitforwm
-
Waits for a WM_NET compatible windowmanager.
- --style <style>
-
Sets the application GUI style.
- --geometry <geometry>
-
Sets the client geometry of the main widget.