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

« back to all changes in this revision

Viewing changes to libs/kopageapp/widgets/KoPageNavigator.cpp

  • 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:
25
25
#include <KoPAView.h>
26
26
#include <KoPADocument.h>
27
27
#include <KoPAPage.h>
 
28
#include <KoIcon.h>
28
29
// KDE
29
30
#include <KDebug>
30
31
#include <KLocale>
96
97
    // because they look too complex, at least with the Oxygen icons
97
98
    // also installing an event filter for all buttons, to get wheel events even
98
99
    // for disabled buttons
99
 
    d->gotoFirstPageButton = new KoPageNavigatorButton("go-first-view", this);
 
100
    d->gotoFirstPageButton = new KoPageNavigatorButton(koIconNameCStr("go-first-view"), this);
100
101
    d->gotoFirstPageButton->installEventFilter(this);
101
 
    d->gotoPreviousPageButton = new KoPageNavigatorButton("go-previous-view", this);
 
102
    d->gotoPreviousPageButton = new KoPageNavigatorButton(koIconNameCStr("go-previous-view"), this);
102
103
    d->gotoPreviousPageButton->installEventFilter(this);
103
 
    d->gotoNextPageButton = new KoPageNavigatorButton("go-next-view", this);
 
104
    d->gotoNextPageButton = new KoPageNavigatorButton(koIconNameCStr("go-next-view"), this);
104
105
    d->gotoNextPageButton->installEventFilter(this);
105
 
    d->gotoLastPageButton = new KoPageNavigatorButton("go-last-view", this);
 
106
    d->gotoLastPageButton = new KoPageNavigatorButton(koIconNameCStr("go-last-view"), this);
106
107
    d->gotoLastPageButton->installEventFilter(this);
107
108
 
108
109
    d->pageNumberEdit = new QLineEdit(this);