messageviewer
MessageViewer::EditorWatcher Class Reference
#include <editorwatcher.h>
Inheritance diagram for MessageViewer::EditorWatcher:
Signals | |
void | editDone (MessageViewer::EditorWatcher *watcher) |
Public Member Functions | |
EditorWatcher (const KUrl &url, const QString &mimeType, bool openWith, QObject *parent, QWidget *parentWidget) | |
bool | fileChanged () const |
bool | start () |
KUrl | url () const |
Detailed Description
Starts an editor for the given URL and emits an signal when editing has been finished.
Both, the editor process as well as the edited file are watched to work with as many as possible editors.
Definition at line 39 of file editorwatcher.h.
Constructor & Destructor Documentation
MessageViewer::EditorWatcher::EditorWatcher | ( | const KUrl & | url, |
const QString & | mimeType, | ||
bool | openWith, | ||
QObject * | parent, | ||
QWidget * | parentWidget | ||
) |
Constructs an EditorWatcher.
- Parameters
-
parent the parent object of this EditorWatcher, which will take care of deleting this EditorWatcher if the parent is deleted. parentWidget the parent widget of this EditorWatcher, which will be used as the parent widget for message dialogs.
Definition at line 44 of file editorwatcher.cpp.
Member Function Documentation
|
signal |
|
inline |
Definition at line 55 of file editorwatcher.h.
bool MessageViewer::EditorWatcher::start | ( | ) |
Definition at line 63 of file editorwatcher.cpp.
|
inline |
Definition at line 56 of file editorwatcher.h.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.