convert most of the QAction to KAction, so shortcut change on them works again

yay for compatibility!

svn path=/trunk/KDE/kdegraphics/okular/; revision=870269
This commit is contained in:
Pino Toscano 2008-10-12 09:00:37 +00:00
parent fba08521c0
commit ba01e51526
2 changed files with 29 additions and 28 deletions

47
part.h
View file

@ -40,6 +40,7 @@ class KToggleFullScreenAction;
class KSelectAction;
class KAboutData;
class KTemporaryFile;
class KAction;
class FindBar;
class ThumbnailList;
@ -212,33 +213,33 @@ class Part : public KParts::ReadOnlyPart, public Okular::DocumentObserver, publi
QStringList m_searchHistory;
// actions
QAction *m_gotoPage;
QAction *m_prevPage;
QAction *m_nextPage;
QAction *m_firstPage;
QAction *m_lastPage;
QAction *m_historyBack;
QAction *m_historyNext;
QAction *m_addBookmark;
QAction *m_prevBookmark;
QAction *m_nextBookmark;
QAction *m_copy;
QAction *m_selectAll;
QAction *m_find;
QAction *m_findNext;
QAction *m_saveAs;
QAction *m_saveCopyAs;
QAction *m_printPreview;
QAction *m_showProperties;
QAction *m_showEmbeddedFiles;
QAction *m_exportAs;
KAction *m_gotoPage;
KAction *m_prevPage;
KAction *m_nextPage;
KAction *m_firstPage;
KAction *m_lastPage;
KAction *m_historyBack;
KAction *m_historyNext;
KAction *m_addBookmark;
KAction *m_prevBookmark;
KAction *m_nextBookmark;
KAction *m_copy;
KAction *m_selectAll;
KAction *m_find;
KAction *m_findNext;
KAction *m_saveAs;
KAction *m_saveCopyAs;
KAction *m_printPreview;
KAction *m_showProperties;
KAction *m_showEmbeddedFiles;
KAction *m_exportAs;
QAction *m_exportAsText;
QAction *m_showPresentation;
KAction *m_showPresentation;
KToggleAction* m_showMenuBarAction;
KToggleAction* m_showLeftPanel;
KToggleFullScreenAction* m_showFullScreenAction;
QAction *m_aboutBackend;
QAction *m_reload;
KAction *m_aboutBackend;
KAction *m_reload;
QMenu *m_exportAsMenu;
bool m_actionsSearched;

View file

@ -141,13 +141,13 @@ public:
KAction * aRotateOriginal;
KSelectAction * aPageSizes;
KToggleAction * aTrimMargins;
QAction * aMouseNormal;
QAction * aMouseSelect;
QAction * aMouseTextSelect;
KAction * aMouseNormal;
KAction * aMouseSelect;
KAction * aMouseTextSelect;
KToggleAction * aToggleAnnotator;
KSelectAction * aZoom;
QAction * aZoomIn;
QAction * aZoomOut;
KAction * aZoomIn;
KAction * aZoomOut;
KToggleAction * aZoomFitWidth;
KToggleAction * aZoomFitPage;
KToggleAction * aZoomFitText;