KEasyCDApp Class Reference

[KEasyCD Index] [KEasyCD Hierarchy] [Headers]


This Class is the base class for your application More...

#include <keasycd.h>

Inherits: KTMainWindow

Public Members

Public Slots

Protected Members

Protected Slots


Detailed Description

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 KMyappView is created which creates your view.


KEasyCDApp() [public]

construtor

~KEasyCDApp() [public]

destructor

void enableCommand(int id_) [public slot]

enable menuentries/toolbar items

void disableCommand(int id_) [public slot]

disable menuentries/toolbar items

void commandCallback(int id_) [public slot]

switch argument for slot selection by menu or toolbar ID

void statusCallback(int id_) [public slot]

switch argument for Statusbar help entries on slot selection

void init() [protected]

init() sets the Application title, reads the config file entriesby calling readOptions() and calls the initXX functions to set up the main view items

void initMenuBar() [protected]

initMenuBar creates the menu_bar and inserts the menuitems

void initToolBars() [protected]

this creates the toolbars. Change the toobar look and add more in thisfunction

void initStatusBar() [protected]

setup the statusbar

void initView() [protected]

setup the mainview

void resizeEvent(QResizeEvent *evt) [protected virtual]

resizeEvent for the main view

void addRecent(const char *filename) [protected]

add filename to the recentList

void dlgModified() [protected]

method asks the modified flag and creates a modified dialog for saving

bool queryExit() [protected]

overloaded for Message box on last window exit

void saveOptions() [protected]

save the app-specific options on slotAppExit or by an Options dialog

void readOptions() [protected]

read the app-specific options on init() or by an Options dialog

void slotFileNewWindow() [protected slot]

open a new application window

void slotFileNew() [protected slot]

generate a new document in the actual view

void slotFileOpen() [protected slot]

open a document

void slotFileSave() [protected slot]

save a document

void slotFileSaveAs() [protected slot]

save a document under a different filename

void slotFileClose() [protected slot]

close the actual file

void slotFilePrint() [protected slot]

print the actual file

void slotFileCloseWindow() [protected slot]

close the current window

void slotAppExit() [protected slot]

exits the application

void slotViewToolBar_0() [protected slot]

toggle the toolbar

void slotViewStatusBar() [protected slot]

toggle the statusbar

void slotStatusMsg(const char *text) [protected slot]

change the status message to text

void slotStatusHelpMsg(const char *text) [protected slot]

change the status message of the whole statusbar temporary


Documentation generated by marcel@marcel on Sun Feb 7 09:35:04 MET 1999
Kdoc