summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-03-07 11:07:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-03-07 11:07:00 +0900
commit0b11e1f9e7e5fa53eec82ebb564ea0c4bacf572f (patch)
tree6a8d2984ad08dd1dacd64192c696638d6e596688
parent757586108ec4cf92186deddfba758b38322566f6 (diff)
downloadkiosktool-0b11e1f9e7e5fa53eec82ebb564ea0c4bacf572f.tar.gz
kiosktool-0b11e1f9e7e5fa53eec82ebb564ea0c4bacf572f.zip
Remove use of KDE_IS_VERSION
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--kiosktool/kcms/autostart/kcmautostart.cpp3
-rw-r--r--kiosktool/kioskrun.cpp6
2 files changed, 0 insertions, 9 deletions
diff --git a/kiosktool/kcms/autostart/kcmautostart.cpp b/kiosktool/kcms/autostart/kcmautostart.cpp
index 6a075e8..b3ed32b 100644
--- a/kiosktool/kcms/autostart/kcmautostart.cpp
+++ b/kiosktool/kcms/autostart/kcmautostart.cpp
@@ -55,10 +55,7 @@ AutoStartConfig::AutoStartConfig(TQWidget* parent, const char* name, const TQStr
new TDEAboutData( I18N_NOOP( "kcmautostart" ), I18N_NOOP( "TDE Service Manager" ),
0, 0, TDEAboutData::License_GPL, I18N_NOOP( "(c) 2004 Martijn Klingens" ) );
about->addAuthor( "Martijn Klingens", 0, "klingens@kde.org" );
-
-#if KDE_IS_VERSION(3,2,91)
setAboutData( about );
-#endif
TQVBoxLayout *lay = new TQVBoxLayout( this, 0, KDialog::spacingHint() );
diff --git a/kiosktool/kioskrun.cpp b/kiosktool/kioskrun.cpp
index 0f52847..12cca65 100644
--- a/kiosktool/kioskrun.cpp
+++ b/kiosktool/kioskrun.cpp
@@ -986,10 +986,8 @@ KioskRun::createRemoteDir(const KURL &dest)
if (NETACCESS::mkdir(dest, tdeApp->mainWidget(), 0755))
return true;
-#if KDE_IS_VERSION(3,2,91)
if (NETACCESS::lastError() == TDEIO::ERR_DIR_ALREADY_EXIST)
return true;
-#endif
//TODO Check directory already exists error
TQString error = NETACCESS::lastErrorString();
@@ -1290,11 +1288,7 @@ KioskRun::setProfileInfo(const TQString &profile, const TQString &description, c
"do you wish to delete these files?").arg(installDir),
allFiles,
i18n("Deleting Profile"),
-#if KDE_IS_VERSION(3,2,91)
KStdGuiItem::del(),
-#else
- i18n("&Delete"),
-#endif
i18n("&Keep Files")
);
switch(msgResult)