summaryrefslogtreecommitdiffstats
path: root/kghostview/kgvshell.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-03-22 11:57:05 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-03-22 16:08:13 +0900
commit1cd3a7d43c18218e92a433eb402dc8675d01d554 (patch)
tree2a92d68fa01ebf1aac4678c842f040531aff55ea /kghostview/kgvshell.cpp
parent5cac7bf90b07827e969a079a274e1981f9e570c5 (diff)
downloadtdegraphics-r14.1.x.tar.gz
tdegraphics-r14.1.x.zip
Remove use of TDE_VERSIONr14.1.x
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit b200dc191e36b3af25c88fe541842c86bd8afc09)
Diffstat (limited to 'kghostview/kgvshell.cpp')
-rw-r--r--kghostview/kgvshell.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/kghostview/kgvshell.cpp b/kghostview/kgvshell.cpp
index 8217ce47..f2ac7b65 100644
--- a/kghostview/kgvshell.cpp
+++ b/kghostview/kgvshell.cpp
@@ -85,16 +85,10 @@ KGVShell::KGVShell() :
_showMenuBarAction = KStdAction::showMenubar( this, TQ_SLOT( slotShowMenubar() ), actionCollection() );
/*---- Settings -------------------------------------------------------*/
-#if TDE_VERSION >= TDE_MAKE_VERSION(3,1,90)
createStandardStatusBarAction();
-#endif
setAutoSaveSettings();
setStandardToolBarMenuEnabled(true);
-#if TDE_VERSION >= TDE_MAKE_VERSION(3,1,90)
m_fullScreenAction = KStdAction::fullScreen( this, TQ_SLOT( slotUpdateFullScreen() ), actionCollection(), this );
-#else
- m_fullScreenAction = new TDEToggleAction( this, TQ_SLOT( slotUpdateFullScreen() ) );
-#endif
KStdAction::configureToolbars( this, TQ_SLOT( slotConfigureToolbars() ), actionCollection() );
KStdAction::keyBindings(guiFactory(), TQ_SLOT(configureShortcuts()),
actionCollection());
@@ -338,11 +332,9 @@ void KGVShell::slotUpdateFullScreen()
kapp->removeEventFilter( m_fsFilter );
m_gvpart->updateFullScreen( false );
menuBar()->show();
-#if TDE_VERSION >= TDE_MAKE_VERSION(3,1,90)
TDEToggleAction *statusbarAction = dynamic_cast<TDEToggleAction *>(actionCollection()->action(KStdAction::name(KStdAction::ShowStatusbar)));
assert( statusbarAction );
if (statusbarAction->isChecked()) statusBar()->show();
-#endif
toolBar()->show();
showNormal();
}