~smartboyhw/ubuntu/raring/calligra/2.6.0-0ubuntu1

« back to all changes in this revision

Viewing changes to words/part/KWView.h

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2012-10-23 21:09:16 UTC
  • mfrom: (1.1.13)
  • Revision ID: package-import@ubuntu.com-20121023210916-m82w6zxnxhaxz7va
Tags: 1:2.5.90-0ubuntu1
* New upstream alpha release (LP: #1070436)
  - Add libkactivities-dev and libopenimageio-dev to build-depends
  - Add kubuntu_build_calligraactive.diff to build calligraactive by default
  - Add package for calligraauthor and move files that are shared between
    calligrawords and calligraauthor to calligrawords-common
* Document the patches
* Remove numbers from patches so they follow the same naming scheme as
  the rest of our patches.
* calligra-data breaks replaces krita-data (<< 1:2.5.3) (LP: #1071686)

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
class KWFrame;
38
38
class KWGui;
39
39
 
 
40
class KoPart;
40
41
class KoCanvasBase;
41
42
class KoZoomController;
42
43
class KoFindText;
43
44
class KoFindStyle;
44
45
class KoRdfSemanticItem;
45
46
class KoTextAnchor;
 
47
typedef QExplicitlySharedDataPointer<KoRdfSemanticItem> hKoRdfSemanticItem;
46
48
 
47
49
class KToggleAction;
48
50
/**
60
62
     * The view will have a canvas as a member which does all the actual painting, the view will
61
63
     * be responsible for handling the actions.  The View is technically speaking the controller
62
64
     * class in the MVC design.
63
 
     * @param viewMode the KWViewMode we should show initially.
 
65
     * @param part a KoPart
64
66
     * @param document the document we show.
65
67
     * @param parent a parent widget we show ourselves in.
66
68
     */
67
 
    KWView(const QString &viewMode, KWDocument *document, QWidget *parent);
 
69
    KWView(KoPart *part, KWDocument *document, QWidget *parent);
68
70
    virtual ~KWView();
69
71
 
70
72
    /**
178
180
    /// open the configure dialog.
179
181
    void configure();
180
182
    /// A semantic item was updated and should have it's text refreshed.
181
 
    void semanticObjectViewSiteUpdated(KoRdfSemanticItem *item, const QString &xmlid);
 
183
    void semanticObjectViewSiteUpdated(hKoRdfSemanticItem item, const QString &xmlid);
182
184
    /// A match was found when searching.
183
185
    void findMatchFound(KoFindMatch match);
184
186
    /// The document has finished loading. This is used to update the text that can be searched.