kviewshell
KViewPart Class Reference
#include <kviewpart.h>

Public Slots | |
| virtual bool | closeURL () |
| virtual QStringList | fileFormats () const |
| void | reload () |
| void | restoreDocument (const KURL &url, int page) |
| void | saveDocumentRestoreInfo (KConfig *config) |
| void | setStatusBarTextFromMultiPage (const QString &) |
| virtual void | slotFileOpen () |
| void | slotSetFullPage (bool fullpage) |
Signals | |
| void | fileOpened () |
| void | pageChanged (const QString &) |
| void | pluginChanged (KParts::Part *) |
| void | scrollbarStatusChanged (bool) |
| void | sizeChanged (const QString &) |
| void | zoomChanged (const QString &) |
Public Member Functions | |
| virtual bool | closeURL_ask () |
| bool | isValid () |
| KViewPart (QWidget *parentWidget, const char *widgetName, QObject *parent, const char *name, const QStringList &args) | |
| QString | pageSizeDescription () |
| virtual QStringList | supportedMimeTypes () |
| virtual | ~KViewPart () |
Static Public Member Functions | |
| static KAboutData * | createAboutData () |
Protected Slots | |
| void | disableZoomFit () |
| void | enableFitToHeight (bool) |
| void | enableFitToPage (bool) |
| void | enableFitToWidth (bool) |
| void | fileChanged (const QString &) |
| void | fitToHeight () |
| void | fitToPage () |
| void | fitToWidth () |
| void | goToPage () |
| void | setZoomValue (const QString &) |
| void | slotMedia (int) |
| void | slotPrint () |
| void | slotShowSidebar () |
| void | updateZoomLevel () |
| void | zoomIn () |
| void | zoomOut () |
Protected Member Functions | |
| void | connectNotify (const char *) |
| void | guiActivateEvent (KParts::GUIActivateEvent *ev) |
| virtual bool | openFile () |
| void | partActivateEvent (KParts::PartActivateEvent *ev) |
Protected Attributes | |
| KSelectAction * | media |
| KSelectAction * | orientation |
| KToggleAction * | scrollbarHandling |
| KToggleAction * | showSidebar |
| KSelectAction * | zoom_action |
Detailed Description
Definition at line 31 of file kviewpart.h.
Constructor & Destructor Documentation
| KViewPart::KViewPart | ( | QWidget * | parentWidget, | |
| const char * | widgetName, | |||
| QObject * | parent, | |||
| const char * | name, | |||
| const QStringList & | args | |||
| ) |
Definition at line 59 of file kviewpart.cpp.
| KViewPart::~KViewPart | ( | ) | [virtual] |
Definition at line 339 of file kviewpart.cpp.
Member Function Documentation
| bool KViewPart::closeURL | ( | ) | [virtual, slot] |
Definition at line 939 of file kviewpart.cpp.
| bool KViewPart::closeURL_ask | ( | ) | [virtual] |
| void KViewPart::connectNotify | ( | const char * | sig | ) | [protected] |
Definition at line 1383 of file kviewpart.cpp.
| KAboutData * KViewPart::createAboutData | ( | ) | [static] |
Definition at line 1407 of file kviewpart.cpp.
| void KViewPart::disableZoomFit | ( | ) | [protected, slot] |
Definition at line 1019 of file kviewpart.cpp.
| void KViewPart::enableFitToHeight | ( | bool | enable | ) | [protected, slot] |
Definition at line 1115 of file kviewpart.cpp.
| void KViewPart::enableFitToPage | ( | bool | enable | ) | [protected, slot] |
Definition at line 1081 of file kviewpart.cpp.
| void KViewPart::enableFitToWidth | ( | bool | enable | ) | [protected, slot] |
Definition at line 1098 of file kviewpart.cpp.
| void KViewPart::fileChanged | ( | const QString & | file | ) | [protected, slot] |
Definition at line 915 of file kviewpart.cpp.
| QStringList KViewPart::fileFormats | ( | ) | const [virtual, slot] |
| void KViewPart::fileOpened | ( | ) | [signal] |
| void KViewPart::fitToHeight | ( | ) | [protected, slot] |
Definition at line 1150 of file kviewpart.cpp.
| void KViewPart::fitToPage | ( | ) | [protected, slot] |
Definition at line 1133 of file kviewpart.cpp.
| void KViewPart::fitToWidth | ( | ) | [protected, slot] |
Definition at line 1166 of file kviewpart.cpp.
| void KViewPart::goToPage | ( | ) | [protected, slot] |
Definition at line 1008 of file kviewpart.cpp.
| void KViewPart::guiActivateEvent | ( | KParts::GUIActivateEvent * | ev | ) | [protected] |
Definition at line 1478 of file kviewpart.cpp.
| bool KViewPart::isValid | ( | ) | [inline] |
Definition at line 42 of file kviewpart.h.
| bool KViewPart::openFile | ( | ) | [protected, virtual] |
Definition at line 598 of file kviewpart.cpp.
| void KViewPart::pageChanged | ( | const QString & | ) | [signal] |
| QString KViewPart::pageSizeDescription | ( | ) | [virtual] |
| void KViewPart::partActivateEvent | ( | KParts::PartActivateEvent * | ev | ) | [protected] |
Definition at line 1472 of file kviewpart.cpp.
| void KViewPart::pluginChanged | ( | KParts::Part * | ) | [signal] |
| void KViewPart::reload | ( | ) | [slot] |
Calling this slot will cause the kmultipage to reload the file.
Definition at line 909 of file kviewpart.cpp.
| void KViewPart::restoreDocument | ( | const KURL & | url, | |
| int | page | |||
| ) | [slot] |
Definition at line 437 of file kviewpart.cpp.
| void KViewPart::saveDocumentRestoreInfo | ( | KConfig * | config | ) | [slot] |
Definition at line 444 of file kviewpart.cpp.
| void KViewPart::scrollbarStatusChanged | ( | bool | ) | [signal] |
| void KViewPart::setStatusBarTextFromMultiPage | ( | const QString & | msg | ) | [slot] |
Definition at line 1390 of file kviewpart.cpp.
| void KViewPart::setZoomValue | ( | const QString & | sval | ) | [protected, slot] |
Definition at line 1182 of file kviewpart.cpp.
| void KViewPart::sizeChanged | ( | const QString & | ) | [signal] |
| void KViewPart::slotFileOpen | ( | ) | [virtual, slot] |
Definition at line 452 of file kviewpart.cpp.
| void KViewPart::slotMedia | ( | int | id | ) | [protected, slot] |
Definition at line 957 of file kviewpart.cpp.
| void KViewPart::slotPrint | ( | ) | [protected, slot] |
Definition at line 1287 of file kviewpart.cpp.
| void KViewPart::slotSetFullPage | ( | bool | fullpage | ) | [virtual, slot] |
| void KViewPart::slotShowSidebar | ( | ) | [protected, slot] |
Definition at line 591 of file kviewpart.cpp.
| QStringList KViewPart::supportedMimeTypes | ( | ) | [virtual] |
Returns a list of mimetypes supported by the installed KViewShell plugins.
Implements KViewPart_Iface.
Definition at line 468 of file kviewpart.cpp.
| void KViewPart::updateZoomLevel | ( | ) | [protected, slot] |
Definition at line 1061 of file kviewpart.cpp.
| void KViewPart::zoomChanged | ( | const QString & | ) | [signal] |
| void KViewPart::zoomIn | ( | ) | [protected, slot] |
Definition at line 1038 of file kviewpart.cpp.
| void KViewPart::zoomOut | ( | ) | [protected, slot] |
Definition at line 1050 of file kviewpart.cpp.
Member Data Documentation
KSelectAction * KViewPart::media [protected] |
Definition at line 109 of file kviewpart.h.
KSelectAction* KViewPart::orientation [protected] |
Definition at line 109 of file kviewpart.h.
KToggleAction * KViewPart::scrollbarHandling [protected] |
Definition at line 108 of file kviewpart.h.
KToggleAction* KViewPart::showSidebar [protected] |
Definition at line 108 of file kviewpart.h.
KSelectAction * KViewPart::zoom_action [protected] |
Definition at line 109 of file kviewpart.h.
The documentation for this class was generated from the following files:
KDE 3.5 API Reference