|
|
The base class for KSendFax application windows. It sets up the main window and reads the config file as well as providing a menubar, toolbar and statusbar. An instance of KSendFaxView creates your center view, which is connected to the window's Doc object. KSendFaxApp reimplements the methods that KMainWindow provides for main window handling and supports full session management as well as using KActions.
See also: KMainWindow, KApplication, KConfig
friend class KSendFaxView | KSendFaxView |
[private]
KSendFaxApp (QWidget* parent=0, const char* name=0)
| KSendFaxApp |
construtor of KSendFaxApp, calls all init functions to create the application.
~KSendFaxApp ()
| ~KSendFaxApp |
void openDocumentFile (const QString & file)
| openDocumentFile |
opens a file specified by commandline option
KSendFaxDoc * getDocument ()
| getDocument |
[const]
returns a pointer to the current document connected to the KTMainWindow instance and is used by the View class to access the document object's methods
void saveOptions ()
| saveOptions |
[protected]
save general Options like all bar positions and status as well as the geometry and the recent file list to the configuration file
void readOptions ()
| readOptions |
[protected]
read general Options again and initialize all variables like the recent file list
void initActions ()
| initActions |
[protected]
void initStatusBar ()
| initStatusBar |
[protected]
sets up the statusbar for the main window by initialzing a statuslabel.
void initDocument ()
| initDocument |
[protected]
initializes the document object of the main window that is connected to the view in initView().
See also: initView();
void initView ()
| initView |
[protected]
creates the centerwidget of the KTMainWindow instance and sets it as the view
bool queryExit ()
| queryExit |
[protected virtual]
queryExit is called by KTMainWindow when the last window of the application is going to be closed during the closeEvent(). Against the default implementation that just returns true, this calls saveOptions() to save the settings of the last window's properties.
See also: KTMainWindow#queryExit, KTMainWindow#closeEvent
Reimplemented from KMainWindow.
void slotFileSendFax ()
| slotFileSendFax |
[slot]
Send the actual document(s) to the selected fax
void slotFileShowJobs ()
| slotFileShowJobs |
[slot]
show the send queue
void slotFileRemoveJob ()
| slotFileRemoveJob |
[slot]
remove a document from the send queue
void slotFileScanDoc ()
| slotFileScanDoc |
[slot]
scan a new document
void slotFilePreviewDoc ()
| slotFilePreviewDoc |
[slot]
preview the document
void slotFileEditDoc ()
| slotFileEditDoc |
[slot]
edit the document
void slotFileQuit ()
| slotFileQuit |
[slot]
quit the program
void slotShowPreferences ()
| slotShowPreferences |
[slot]
shows the preferences dialog
void slotShowToolBar ()
| slotShowToolBar |
[slot]
toggles the toolbar
void slotShowStatusBar ()
| slotShowStatusBar |
[slot]
toggles the statusbar
void slotShowFileList ()
| slotShowFileList |
[slot]
toggles the file list
void slotPbShow ()
| slotPbShow |
[slot]
toggles the phonebook
void slotPbEdit ()
| slotPbEdit |
[slot]
edit a kab-type phonebook
void slotPbAdd ()
| slotPbAdd |
[slot]
adds an entry to the phonebook
void slotPbModify ()
| slotPbModify |
[slot]
modifies an entry in the phonebook
void slotPbRemove ()
| slotPbRemove |
[slot]
removes an entry from the phonebook
void slotPbSave ()
| slotPbSave |
[slot]
save the phonebook
void slotPbReload ()
| slotPbReload |
[slot]
reload the phonebook
void slotStatusMsg (const QString &text)
| slotStatusMsg |
[slot]
changes the statusbar contents for the standard label permanently, used to indicate current actions.
Parameters:
text | the text that is displayed in the statusbar |
KConfig * config | config |
[private]
KSendFaxView * view | view |
[private]
KSendFaxDoc * doc | doc |
[private]
KAction* fileSendFax | fileSendFax |
[private]
KAction* fileShowJobs | fileShowJobs |
[private]
KAction* fileRemoveJob | fileRemoveJob |
[private]
KAction* fileScanDoc | fileScanDoc |
[private]
KAction* filePreviewDoc | filePreviewDoc |
[private]
KAction* fileEditDoc | fileEditDoc |
[private]
KAction* fileQuit | fileQuit |
[private]
KToggleAction* showToolBar | showToolBar |
[private]
KToggleAction* showStatusBar | showStatusBar |
[private]
KToggleAction* showFileList | showFileList |
[private]
KAction* showPreferences | showPreferences |
[private]
KToggleAction* pbShow | pbShow |
[private]
KAction* pbEdit | pbEdit |
[private]
KAction* pbAdd | pbAdd |
[private]
KAction* pbModify | pbModify |
[private]
KAction* pbRemove | pbRemove |
[private]
KAction* pbSave | pbSave |
[private]
KAction* pbReload | pbReload |
[private]
Preferences * preferences | preferences |
[private]