KoView.h
237 virtual void paintEverything( TQPainter &painter, const TQRect &rect, bool transparent = false );
TDEAction * action(const char *name) const
virtual void guiActivateEvent(KParts::GUIActivateEvent *)
Handles the event KParts::GUIActivateEvent.
Definition KoView.cpp:399
void removeStatusBarItem(TQWidget *widget)
Remove a widget from the statusbar for this view.
Definition KoView.cpp:428
void embeddImage(const TQString &filename)
Make it possible for plugins to request the embedding of an image into the current document.
virtual int leftBorder() const
Retrieves the left border width that is displayed around the content if the view is active.
Definition KoView.cpp:268
virtual DCOPObject * dcopObject()
Return a DCOP interface for this view KOffice Applications are strongly recommended to reimplement th...
Definition KoView.cpp:699
virtual void endOperation()
Slot to allow code to signal the end of an operation where the screen should not have been updating.
Definition KoView.cpp:661
virtual TQWidget * canvas() const
Overload this function if the content will be displayed on some child widget instead of the view dire...
Definition KoView.cpp:299
virtual void partActivateEvent(KParts::PartActivateEvent *event)
Handles the event KParts::PartActivateEvent.
Definition KoView.cpp:330
virtual TQPoint reverseViewTransformations(const TQPoint &) const
Reverse the transformations that the view makes to its contents, i.e.
Definition KoView.cpp:830
virtual int canvasYOffset() const
Overload this function if the content will be displayed with an offset relative to the upper left cor...
Definition KoView.cpp:311
void setDocumentDeleted()
Tells this view that its document has got deleted (called internally).
Definition KoView.cpp:187
virtual int canvasXOffset() const
Overload this function if the content will be displayed with an offset relative to the upper left cor...
Definition KoView.cpp:306
virtual void customEvent(TQCustomEvent *ev)
This method handles three events: KParts::PartActivateEvent, KParts::PartSelectEvent and KParts::GUIA...
Definition KoView.cpp:320
void addStatusBarItem(TQWidget *widget, int stretch=0, bool permanent=false)
This adds a widget to the statusbar for this view.
Definition KoView.cpp:417
virtual void partSelectEvent(KParts::PartSelectEvent *event)
Handles the event KParts::PartSelectEvent.
Definition KoView.cpp:370
void enableAutoScroll()
Sets up so that autoScroll signals are emitted when the mouse pointer is outside the view.
Definition KoView.cpp:470
void slotActionStatusText(const TQString &text)
Display a message in the status bar (calls TQStatusBar::message()).
Definition KoView.cpp:685
virtual void canvasAddChild(KoViewChild *child)
Overload this function if you need to perform some actions after KoView (the part widget) is inserted...
Definition KoView.cpp:316
virtual TQWMatrix matrix() const TDE_DEPRECATED
Returns the matrix which is used by the view to transform the content.
Definition KoView.cpp:505
virtual void print(KPrinter &printer)
Overload this method with your own printing code.
Definition KoView.cpp:636
virtual TQPoint applyViewTransformations(const TQPoint &) const
Apply the transformations that the view makes to its contents.
Definition KoView.cpp:825
virtual void newView()
Slot to create a new view around the contained koDocument.
Definition KoView.cpp:641
bool isInOperation() const
Check to see if the view is currently in the middle of an operation which means that there will be no...
Definition KoView.cpp:650
virtual void beginOperation()
Slot to allow code to signal the beginning of an operation where the screen should not update until i...
Definition KoView.cpp:655
virtual void paintEverything(TQPainter &painter, const TQRect &rect, bool transparent=false)
calls KoDocument::paintEverything()
Definition KoView.cpp:480
virtual KoDocument * hitTest(const TQPoint &pos)
Retrieves the document that is hit.
Definition KoView.cpp:233
virtual void setupPrinter(KPrinter &printer)
Overload this method to setup KPrinter before the actual printing.
Definition KoView.cpp:631
virtual void updateReadWrite(bool readwrite)=0
You have to implement this method and disable/enable certain functionality (actions for example) in y...
KoView(KoDocument *document, TQWidget *parent=0, const char *name=0)
Creates a new view for the document.
Definition KoView.cpp:109
void slotClearStatusText()
End of the message in the status bar (calls TQStatusBar::clear()).
Definition KoView.cpp:692
