diff options
author | Timothy Pearson <[email protected]> | 2013-01-24 13:45:52 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-24 13:45:52 -0600 |
commit | 6adb71382c3d5277c3dcbc4ec24c5ff36b4c07ef (patch) | |
tree | 44659d1cc0c37eb995e572bc1b979e75a74210fb /kpdf/shell | |
parent | e2385b701b464dc2259fcd5f3819c98f2c8c4438 (diff) | |
download | tdegraphics-6adb71382c3d5277c3dcbc4ec24c5ff36b4c07ef.tar.gz tdegraphics-6adb71382c3d5277c3dcbc4ec24c5ff36b4c07ef.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kpdf/shell')
-rw-r--r-- | kpdf/shell/shell.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kpdf/shell/shell.cpp b/kpdf/shell/shell.cpp index 9a2f99b1..f89ffc65 100644 --- a/kpdf/shell/shell.cpp +++ b/kpdf/shell/shell.cpp @@ -92,7 +92,7 @@ void Shell::init() connect( m_part, TQT_SIGNAL( enablePrintAction(bool) ), m_printAction, TQT_SLOT( setEnabled(bool))); readSettings(); - if (!KGlobal::config()->hasGroup("MainWindow")) + if (!TDEGlobal::config()->hasGroup("MainWindow")) { KMainWindowInterface kmwi(this); kmwi.maximize(); @@ -127,21 +127,21 @@ void Shell::openURL( const KURL & url ) void Shell::readSettings() { - m_recent->loadEntries( KGlobal::config() ); + m_recent->loadEntries( TDEGlobal::config() ); m_recent->setEnabled( true ); // force enabling m_recent->setToolTip( i18n("Click to open a file\nClick and hold to open a recent file") ); - KGlobal::config()->setDesktopGroup(); - bool fullScreen = KGlobal::config()->readBoolEntry( "FullScreen", false ); + TDEGlobal::config()->setDesktopGroup(); + bool fullScreen = TDEGlobal::config()->readBoolEntry( "FullScreen", false ); setFullScreen( fullScreen ); } void Shell::writeSettings() { - m_recent->saveEntries( KGlobal::config() ); - KGlobal::config()->setDesktopGroup(); - KGlobal::config()->writeEntry( "FullScreen", m_fullScreenAction->isChecked()); - KGlobal::config()->sync(); + m_recent->saveEntries( TDEGlobal::config() ); + TDEGlobal::config()->setDesktopGroup(); + TDEGlobal::config()->writeEntry( "FullScreen", m_fullScreenAction->isChecked()); + TDEGlobal::config()->sync(); } void Shell::setupActions() @@ -204,7 +204,7 @@ Shell::optionsConfigureToolbars() void Shell::applyNewToolbarConfig() { - applyMainWindowSettings(KGlobal::config(), "MainWindow"); + applyMainWindowSettings(TDEGlobal::config(), "MainWindow"); } void Shell::slotQuit() |