summaryrefslogtreecommitdiffstats
path: root/kpdf/shell/shell.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:12:51 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:12:51 -0600
commit65eca7929c22f0f0bc64135c02d85d1243df376c (patch)
tree5b47361590fb6693a0f6258d6a8d725856ef2ad9 /kpdf/shell/shell.cpp
parentcd6d514066c22206c388eddbb7fbec32648dbaeb (diff)
downloadtdegraphics-65eca7929c22f0f0bc64135c02d85d1243df376c.tar.gz
tdegraphics-65eca7929c22f0f0bc64135c02d85d1243df376c.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kpdf/shell/shell.cpp')
-rw-r--r--kpdf/shell/shell.cpp6
1 files changed, 3 insertions, 3 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" ) );