[NewKrn Index] [NewKrn Hierarchy] [Headers]
This Class is the base class for your application More...
#include <newkrn.h>
Inherits: KTMainWindow (kdeui)
This Class is the base class for your application. It sets up the main window and reads the config file as well as providing a menubar, toolbar and statusbar. For the main view, an instance of class NewKrnView is created which creates your view.
[public]
construtor
[public]
destructor
[public]
initMenuBar creates the menu_bar and inserts the menuitems
[public]
this creates the toolbars. Change the toobar look and add new toolbars in this
[public]
setup the statusbar
[public]
setup the mainview
[public]
save the app-specific options on slotAppExit or by an Options dialog
[public]
read the app-specific options on init() or by an Options dialog
[public]
enable menuentries/toolbar items
[public]
disable menuentries/toolbar items
[public]
overloaded for Message box on last window exit
[public]
view is the main widget which represents your working area. The Viewclass should handle all events of the view widget. It is kept empty so you can create your view according to your application's needs by
[public slot]
switch argument for slot selection by menu or toolbar ID
[public slot]
switch argument for Statusbar help entries on slot selection
[public slot]
open a new application window
[public slot]
generate a new document in the actual view
[public slot]
open a document
[public slot]
save a document
[public slot]
save a document under a different filename
[public slot]
close the actual file
[public slot]
print the actual file
[public slot]
close the current window
[public slot]
exits the application
[public slot]
put the marked text/object into the clipboard and remove
[public slot]
put the marked text/object into the clipboard
[public slot]
paste the clipboard into the document
[public slot]
toggle the toolbar
[public slot]
toggle the statusbar
[public slot]
change the status message to text
[public slot]
change the status message of the whole statusbar temporary
[private]
file_menu contains all items of the menubar entry "File"
[private]
edit_menu contains all items of the menubar entry "Edit"
[private]
view_menu contains all items of the menubar entry "View"
[private]
help_menu contains all items of the menubar entry "Help"
[private]
doc represents your actual document and is created only once. It keepsinformation such as filename and does the serialization of your files.
[private]
flag if toolbar is visible or not. Used for kconfig and checking theview-menu entry view toolbar. bViewStatusbar does the same for the statusbar.
[private]
used for KConfig to store and restore menubar position. Same withtool_bar_pos. If more menubars or toolbars are created, you should add positions as well and implement them in saveOptions() and readOptions().
Documentation generated by ralsina@thurman.localnet on Tue Jun 22 16:27:40 /etc/localtime 1999 | Kdoc |