DiffWidget Class Reference
#include <diffwidget.h>
Inheritance diagram for DiffWidget:


Public Slots | |
| void | openURL (const KURL &url) |
| The URL has to point to a diff file. | |
| void | setDiff (const QString &diff) |
| Pass a diff file in here. | |
| void | slotClear () |
| clears the difference viewer | |
| void | openURL (const KURL &url) |
| The URL has to point to a diff file. | |
| void | setDiff (const QString &diff) |
| Pass a diff file in here. | |
| void | slotClear () |
| clears the difference viewer | |
Public Member Functions | |
| DiffWidget (QWidget *parent=0, const char *name=0, WFlags f=0) | |
| virtual | ~DiffWidget () |
| DiffWidget (QWidget *parent=0, const char *name=0, WFlags f=0) | |
| virtual | ~DiffWidget () |
Protected Member Functions | |
| void | contextMenuEvent (QContextMenuEvent *e) |
| void | contextMenuEvent (QContextMenuEvent *e) |
Private Slots | |
| void | slotAppend (const QString &str) |
| appends a piece of "diff" | |
| void | slotAppend (KIO::Job *, const QByteArray &ba) |
| overloaded for convenience | |
| void | slotFinished () |
| call this when the whole "diff" has been sent. | |
| void | showExtPart () |
| void | showTextEdit () |
| void | loadExtPart (const QString &partName) |
| void | slotAppend (const QString &str) |
| appends a piece of "diff" | |
| void | slotAppend (KIO::Job *, const QByteArray &ba) |
| overloaded for convenience | |
| void | slotFinished () |
| call this when the whole "diff" has been sent. | |
| void | showExtPart () |
| void | showTextEdit () |
| void | loadExtPart (const QString &partName) |
Private Member Functions | |
| void | setExtPartVisible (bool visible) |
| void | populateExtPart () |
| void | setExtPartVisible (bool visible) |
| void | populateExtPart () |
Private Attributes | |
| KDiffTextEdit * | te |
| KIO::Job * | job |
| KParts::ReadOnlyPart * | extPart |
| KTempFile * | tempFile |
| QString | rawDiff |
| KDiffTextEdit * | te |
| KIO::Job * | job |
| KParts::ReadOnlyPart * | extPart |
| KTempFile * | tempFile |
Constructor & Destructor Documentation
|
||||||||||||||||
|
Definition at line 177 of file diffwidget.cpp. References extPart, job, loadExtPart(), and te. |
|
|
Definition at line 193 of file diffwidget.cpp. |
|
||||||||||||||||
|
|
|
|
|
Member Function Documentation
|
|
|
|
|
Definition at line 311 of file diffwidget.cpp. References showTextEdit(), and te. |
|
|
|
|
|
Definition at line 213 of file diffwidget.cpp. References extPart, populateExtPart(), KService::Ptr, KService::serviceByDesktopName(), setExtPartVisible(), te, and KParts::Part::widget(). Referenced by DiffWidget(). |
|
|
The URL has to point to a diff file.
|
|
|
The URL has to point to a diff file.
Definition at line 296 of file diffwidget.cpp. References data, KIO::get(), job, KIO::Job::kill(), slotAppend(), and slotFinished(). Referenced by DiffDlg::openURL(). |
|
|
|
|
|
Definition at line 257 of file diffwidget.cpp. References KTempFile::close(), KParts::ReadOnlyPart::closeStream(), extPart, KTempFile::name(), KParts::ReadOnlyPart::openStream(), KParts::ReadOnlyPart::openURL(), rawDiff, KTempFile::setAutoDelete(), setExtPartVisible(), te, tempFile, KTempFile::textStream(), and KParts::ReadOnlyPart::writeStream(). Referenced by loadExtPart(), and slotFinished(). |
|
|
Pass a diff file in here.
|
|
|
Pass a diff file in here.
Definition at line 288 of file diffwidget.cpp. References rawDiff, slotAppend(), slotClear(), and slotFinished(). Referenced by DiffDlg::setDiff(), and CVSDiffPage::slotJobExited(). |
|
|
|
|
|
Definition at line 198 of file diffwidget.cpp. References extPart, te, and KParts::Part::widget(). Referenced by loadExtPart(), populateExtPart(), showExtPart(), and showTextEdit(). |
|
|
|
|
|
Definition at line 322 of file diffwidget.cpp. References setExtPartVisible(). |
|
|
|
|
|
Definition at line 327 of file diffwidget.cpp. References setExtPartVisible(). Referenced by contextMenuEvent(). |
|
||||||||||||
|
overloaded for convenience
|
|
|
appends a piece of "diff"
|
|
||||||||||||
|
overloaded for convenience
Definition at line 252 of file diffwidget.cpp. References slotAppend(). |
|
|
appends a piece of "diff"
Definition at line 246 of file diffwidget.cpp. References te. Referenced by openURL(), setDiff(), and slotAppend(). |
|
|
clears the difference viewer
|
|
|
clears the difference viewer
Definition at line 237 of file diffwidget.cpp. References KParts::ReadOnlyPart::closeURL(), extPart, rawDiff, and te. Referenced by setDiff(), and DiffDlg::slotClear(). |
|
|
call this when the whole "diff" has been sent. Don't call slotAppend afterwards! |
|
|
call this when the whole "diff" has been sent. Don't call slotAppend afterwards! Definition at line 282 of file diffwidget.cpp. References KDiffTextEdit::applySyntaxHighlight(), populateExtPart(), and te. |
Member Data Documentation
|
|
Definition at line 99 of file diffwidget.h. |
|
|
Definition at line 99 of file diffwidget.h. Referenced by DiffWidget(), loadExtPart(), populateExtPart(), setExtPartVisible(), and slotClear(). |
|
|
Definition at line 98 of file diffwidget.h. |
|
|
Definition at line 98 of file diffwidget.h. Referenced by DiffWidget(), and openURL(). |
|
|
Definition at line 101 of file diffwidget.h. Referenced by populateExtPart(), setDiff(), and slotClear(). |
|
|
Definition at line 97 of file diffwidget.h. |
|
|
Definition at line 97 of file diffwidget.h. Referenced by contextMenuEvent(), DiffWidget(), loadExtPart(), populateExtPart(), setExtPartVisible(), slotAppend(), slotClear(), and slotFinished(). |
|
|
Definition at line 100 of file diffwidget.h. |
|
|
Definition at line 100 of file diffwidget.h. Referenced by populateExtPart(). |
The documentation for this class was generated from the following files:
- parts/diff/diffwidget.h
- vcs/cvsservice/diffwidget.h
- parts/diff/diffwidget.cpp
- vcs/cvsservice/diffwidget.cpp
