summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-03-08 12:15:10 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-03-08 12:15:10 +0900
commitccfa8e40c23c2ae851c9d049606bcf20710fdb25 (patch)
treee563485d3f09fa3bba3680defb4e8756f9d11c31
parente7207f65b26efb232b21737508d7c7d8de346670 (diff)
downloadtdewebdev-ccfa8e40c23c2ae851c9d049606bcf20710fdb25.tar.gz
tdewebdev-ccfa8e40c23c2ae851c9d049606bcf20710fdb25.zip
Remove use of KDE_IS_VERSION
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--kimagemapeditor/kimagemapeditor.cpp18
-rw-r--r--kommander/widget/kommander_export.h7
-rw-r--r--lib/compatibility/tdemdi/qextmdi/tdemdiguiclient.cpp4
-rw-r--r--quanta/project/projectprivate.cpp8
4 files changed, 0 insertions, 37 deletions
diff --git a/kimagemapeditor/kimagemapeditor.cpp b/kimagemapeditor/kimagemapeditor.cpp
index a34dc4e7..20bb4bb7 100644
--- a/kimagemapeditor/kimagemapeditor.cpp
+++ b/kimagemapeditor/kimagemapeditor.cpp
@@ -58,11 +58,7 @@
#include <kxmlguifactory.h>
#include <kdockwidget.h>
#include <tdeio/job.h>
-#if KDE_IS_VERSION(3,1,90)
#include <kinputdialog.h>
-#else
-#include <tqinputdialog.h>
-#endif
// local
#include "kimagemapeditor.h"
@@ -522,9 +518,7 @@ void KImageMapEditor::setupActions()
showAltAction = new TDEToggleAction(i18n("Show Alt Tag"),0, this, TQ_SLOT (slotShowAltTag()),
actionCollection(), "view_showalt");
-#if KDE_IS_VERSION(3,2,90)
showAltAction->setCheckedState(i18n("Hide Alt Tag"));
-#endif
mapNameAction= new TDEAction(i18n("Map &Name..."),0,this,TQ_SLOT(mapEditName()),
actionCollection(), "map_name");
@@ -703,11 +697,9 @@ void KImageMapEditor::setupActions()
configureShowImageListAction = new TDEToggleAction( i18n("Show Image List"), 0L, 0,
this, TQ_SLOT(configureShowImageList()),
actionCollection(), "configure_show_imagelist" );
-#if KDE_IS_VERSION(3,2,90)
configureShowAreaListAction->setCheckedState(i18n("Hide Area List"));
configureShowMapListAction->setCheckedState(i18n("Hide Map List"));
configureShowImageListAction->setCheckedState(i18n("Hide Image List"));
-#endif
}
updateActionAccess();
@@ -1507,15 +1499,9 @@ void KImageMapEditor::mapDefaultArea()
void KImageMapEditor::mapEditName()
{
bool ok=false;
-#if KDE_IS_VERSION(3, 1, 90)
TQString input = KInputDialog::getText(i18n("Enter Map Name"),
i18n("Enter the name of the map:"),
_mapName,&ok,widget());
-#else
- TQString input = KLineEditDlg::getText(i18n("Enter Map Name"),
- i18n("Enter the name of the map:"),
- _mapName,&ok,widget());
-#endif
if (ok) {
if (input != _mapName) {
if (mapsListView->nameAlreadyExists(input))
@@ -2756,11 +2742,7 @@ void KImageMapEditor::imageUsemap() {
index = 0;
}
-#if KDE_IS_VERSION(3, 1, 90)
TQString input = KInputDialog::getItem(i18n("Enter Usemap"),
-#else
- TQString input = TQInputDialog::getItem(i18n("Enter Usemap"),
-#endif
i18n("Enter the usemap value:"),
maps,index,true,&ok,widget());
if (ok) {
diff --git a/kommander/widget/kommander_export.h b/kommander/widget/kommander_export.h
index f9e5d4ed..90d1d9f7 100644
--- a/kommander/widget/kommander_export.h
+++ b/kommander/widget/kommander_export.h
@@ -21,15 +21,8 @@
#ifndef _KOMMANDER_EXPORT_H
#define _KOMMANDER_EXPORT_H
-#include <tdeversion.h>
-
-#if KDE_IS_VERSION(3,3,90)
-
#include <tdemacros.h>
#define KOMMANDER_EXPORT TDE_EXPORT
-#else
-#define KOMMANDER_EXPORT
-#endif
#endif /* _KOMMANDER_EXPORT_H */
diff --git a/lib/compatibility/tdemdi/qextmdi/tdemdiguiclient.cpp b/lib/compatibility/tdemdi/qextmdi/tdemdiguiclient.cpp
index 22d31db8..561dbb05 100644
--- a/lib/compatibility/tdemdi/qextmdi/tdemdiguiclient.cpp
+++ b/lib/compatibility/tdemdi/qextmdi/tdemdiguiclient.cpp
@@ -260,11 +260,7 @@ void KMDIGUIClient::addToolView( KMdiToolViewAccessor* mtva )
TDEAction *a = new ToggleToolViewAction( i18n( "Show %1" ).arg( mtva->wrappedWidget() ->caption() ),
/*TQString()*/sc, dynamic_cast<KDockWidget*>( mtva->wrapperWidget() ),
m_mdiMainFrm, actionCollection(), aname.latin1() );
-#if KDE_IS_VERSION(3,2,90)
-
( ( ToggleToolViewAction* ) a ) ->setCheckedState( i18n( "Hide %1" ).arg( mtva->wrappedWidget() ->caption() ) );
-#endif
-
connect( a, TQ_SIGNAL( destroyed( TQObject* ) ), this, TQ_SLOT( actionDeleted( TQObject* ) ) );
m_toolViewActions.append( a );
m_toolMenu->insert( a );
diff --git a/quanta/project/projectprivate.cpp b/quanta/project/projectprivate.cpp
index d4d523dc..a237a442 100644
--- a/quanta/project/projectprivate.cpp
+++ b/quanta/project/projectprivate.cpp
@@ -847,11 +847,7 @@ void ProjectPrivate::slotAcceptCreateProject()
url = QExtFileInfo::toRelative(toolbarURL, baseURL);
el.firstChild().setNodeValue(QuantaCommon::qUrl(url));
-#if KDE_IS_VERSION(3,4,89)
m_projectRecent->addURL(projectURL, projectName);
-#else
- m_projectRecent->addURL(projectURL);
-#endif
m_projectRecent->setCurrentItem(0);
// remember the project in config
writeConfig();
@@ -1327,12 +1323,8 @@ void ProjectPrivate::loadProjectFromTemp(const KURL &url, const TQString &tempFi
}
loadProjectXML();
openCurrentView();
-#if KDE_IS_VERSION(3,4,89)
kdDebug(24000) << "Add recent project: " << url << " : projectName= " << projectName << endl;
m_projectRecent->addURL(url, projectName);
-#else
- m_projectRecent->addURL( url );
-#endif
m_projectRecent->setCurrentItem(0);
// remember the project in config
writeConfig();