[KUninstaller Index] [KUninstaller Hierarchy]
This Class is the base class for the application More...
#include <kuninstaller.h>
Inherits: KTMainWindow
This Class is the base class for the 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 KUninstallerView is created which creates the view.
construtor
destructor
initMenuBar creates the menu_bar and inserts the menuitems
this creates the toolbars. Change the toobar look and add new toolbars in this
setup the statusbar
setup the mainview
save the app-specific options on slotAppExit or by an Options dialog
read the app-specific options on init() or by an Options dialog
enable menuentries/toolbar items
disable menuentries/toolbar items
overloaded for Message box on last window exit
overloaded for change resize
switch argument for slot selection by menu or toolbar ID
switch argument for Statusbar help entries on slot selection
open a new application window
print the actual file
close the current window
exits the application
toggle the toolbar
toggle the statusbar
change the status message to text
change the status message of the whole statusbar temporary
Starts the Searching for appication parts
Removes the selected appication parts
Refreshes the View for new searching
Stops the Searching
Undos the last deleting action if the backup feature is enabled
Configuration of the application
Deleting all application backups
file_menu contains all items of the menubar entry "File"
edit_menu contains all items of the menubar entry "Edit"
view_menu contains all items of the menubar entry "View"
help_menu contains all items of the menubar entry "Help"
doc represents your actual document and is created only once. It keeps information such as filename and does the serialization of your files.
flag if toolbar is visible or not. Used for kconfig and checking the view-menu entry view toolbar. bViewStatusbar does the same for the statusbar.
used for KConfig to store and restore menubar position. Same with tool_bar_pos. If more menubars or toolbars are created, you should add positions as well and implement them in saveOptions() and readOptions().
| Kdoc |