From 3af987b7825866d742487cb6aa5b82bf0adf7543 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 15 Nov 2011 18:56:27 -0600 Subject: Rename KDE_VERSION to TDE_VERSION --- kghostview/kgv_miniwidget.cpp | 4 ++-- kghostview/kgvshell.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kghostview') diff --git a/kghostview/kgv_miniwidget.cpp b/kghostview/kgv_miniwidget.cpp index 5c17fc19..8d9bf827 100644 --- a/kghostview/kgv_miniwidget.cpp +++ b/kghostview/kgv_miniwidget.cpp @@ -29,7 +29,7 @@ #include // KLineEditDlg is depricated as of 3.2. use KInputDialog instead -#if KDE_VERSION >= KDE_MAKE_VERSION(3,1,90) +#if TDE_VERSION >= KDE_MAKE_VERSION(3,1,90) #include #else #include @@ -115,7 +115,7 @@ void KGVMiniWidget::setPSWidget( KPSWidget* psWidget ) void KGVMiniWidget::goToPage() { -#if KDE_VERSION >= KDE_MAKE_VERSION(3,1,90) +#if TDE_VERSION >= KDE_MAKE_VERSION(3,1,90) int num; bool ok = false; num = KInputDialog::getInteger(i18n("Go to Page"), i18n("Page:"), 1, diff --git a/kghostview/kgvshell.cpp b/kghostview/kgvshell.cpp index 74df4cde..568b209b 100644 --- a/kghostview/kgvshell.cpp +++ b/kghostview/kgvshell.cpp @@ -85,12 +85,12 @@ KGVShell::KGVShell() : _showMenuBarAction = KStdAction::showMenubar( TQT_TQOBJECT(this), TQT_SLOT( slotShowMenubar() ), actionCollection() ); /*---- Settings -------------------------------------------------------*/ -#if KDE_VERSION >= KDE_MAKE_VERSION(3,1,90) +#if TDE_VERSION >= KDE_MAKE_VERSION(3,1,90) createStandardStatusBarAction(); #endif setAutoSaveSettings(); setStandardToolBarMenuEnabled(true); -#if KDE_VERSION >= KDE_MAKE_VERSION(3,1,90) +#if TDE_VERSION >= KDE_MAKE_VERSION(3,1,90) m_fullScreenAction = KStdAction::fullScreen( TQT_TQOBJECT(this), TQT_SLOT( slotUpdateFullScreen() ), actionCollection(), this ); #else m_fullScreenAction = new KToggleAction( this, TQT_SLOT( slotUpdateFullScreen() ) ); @@ -338,7 +338,7 @@ void KGVShell::slotUpdateFullScreen() kapp->removeEventFilter( m_fsFilter ); m_gvpart->updateFullScreen( false ); menuBar()->show(); -#if KDE_VERSION >= KDE_MAKE_VERSION(3,1,90) +#if TDE_VERSION >= KDE_MAKE_VERSION(3,1,90) KToggleAction *statusbarAction = dynamic_cast(actionCollection()->action(KStdAction::name(KStdAction::ShowStatusbar))); assert( statusbarAction ); if (statusbarAction->isChecked()) statusBar()->show(); -- cgit v1.2.1