diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:12:51 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:12:51 -0600 |
commit | 65eca7929c22f0f0bc64135c02d85d1243df376c (patch) | |
tree | 5b47361590fb6693a0f6258d6a8d725856ef2ad9 /kpdf/shell | |
parent | cd6d514066c22206c388eddbb7fbec32648dbaeb (diff) | |
download | tdegraphics-65eca7929c22f0f0bc64135c02d85d1243df376c.tar.gz tdegraphics-65eca7929c22f0f0bc64135c02d85d1243df376c.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kpdf/shell')
-rw-r--r-- | kpdf/shell/shell.cpp | 6 | ||||
-rw-r--r-- | kpdf/shell/shell.h | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/kpdf/shell/shell.cpp b/kpdf/shell/shell.cpp index 8b101fa9..14baa149 100644 --- a/kpdf/shell/shell.cpp +++ b/kpdf/shell/shell.cpp @@ -76,7 +76,7 @@ void Shell::init() // and integrate the part's GUI with the shell's setupGUI(Keys | Save); createGUI(m_part); - m_showToolBarAction = static_cast<KToggleAction*>(toolBarMenuAction()); + m_showToolBarAction = static_cast<TDEToggleAction*>(toolBarMenuAction()); } } else @@ -94,7 +94,7 @@ void Shell::init() readSettings(); if (!TDEGlobal::config()->hasGroup("MainWindow")) { - KMainWindowInterface kmwi(this); + TDEMainWindowInterface kmwi(this); kmwi.maximize(); } setAutoSaveSettings(); @@ -146,7 +146,7 @@ void Shell::writeSettings() void Shell::setupActions() { - KAction * openAction = KStdAction::open(TQT_TQOBJECT(this), TQT_SLOT(fileOpen()), actionCollection()); + TDEAction * openAction = KStdAction::open(TQT_TQOBJECT(this), TQT_SLOT(fileOpen()), actionCollection()); m_recent = KStdAction::openRecent( TQT_TQOBJECT(this), TQT_SLOT( openURL( const KURL& ) ), actionCollection() ); connect( m_recent, TQT_SIGNAL( activated() ), openAction, TQT_SLOT( activate() ) ); m_recent->setWhatsThis( i18n( "<b>Click</b> to open a file or <b>Click and hold</b> to select a recent file" ) ); diff --git a/kpdf/shell/shell.h b/kpdf/shell/shell.h index 6fc2a21e..560be8fd 100644 --- a/kpdf/shell/shell.h +++ b/kpdf/shell/shell.h @@ -97,11 +97,11 @@ namespace KPDF private: KParts::ReadOnlyPart* m_part; - KRecentFilesAction* m_recent; - KAction* m_printAction; - KToggleAction* m_fullScreenAction; - KToggleAction* m_showMenuBarAction; - KToggleAction* m_showToolBarAction; + TDERecentFilesAction* m_recent; + TDEAction* m_printAction; + TDEToggleAction* m_fullScreenAction; + TDEToggleAction* m_showMenuBarAction; + TDEToggleAction* m_showToolBarAction; bool m_menuBarWasShown, m_toolBarWasShown; KURL m_openUrl; }; |