summaryrefslogtreecommitdiffstats
path: root/ksquirrel/ksquirrel-libs-configurator/klc.ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'ksquirrel/ksquirrel-libs-configurator/klc.ui.h')
-rw-r--r--ksquirrel/ksquirrel-libs-configurator/klc.ui.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/ksquirrel/ksquirrel-libs-configurator/klc.ui.h b/ksquirrel/ksquirrel-libs-configurator/klc.ui.h
index cc6f9b1..ccccad2 100644
--- a/ksquirrel/ksquirrel-libs-configurator/klc.ui.h
+++ b/ksquirrel/ksquirrel-libs-configurator/klc.ui.h
@@ -10,6 +10,11 @@
** destructor.
*****************************************************************************/
+#if !defined(QT_STRINGIFY)
+# define QT_STRINGIFY2(x) #x
+# define QT_STRINGIFY(x) QT_STRINGIFY2(x)
+#endif
+
void KLC::init()
{
changed = false;
@@ -25,7 +30,7 @@ void KLC::init()
connect(lister, TQT_SIGNAL(deleteItem(KFileItem *)), this, TQT_SLOT(slotDeleteItem(KFileItem *)));
connect(lister, TQT_SIGNAL(newItems(const KFileItemList &)), this, TQT_SLOT(slotNewItems(const KFileItemList &)));
- base = KURL::fromPathOrURL(SQ_KLIBS);
+ base = KURL::fromPathOrURL(QT_STRINGIFY(SQ_KLIBS));
backup = base;
backup.addPath("backup");
@@ -99,7 +104,7 @@ void KLC::slotNewItems(const KFileItemList &list)
{
KFileItemListIterator it(list);
KFileItem *fi;
- TQString soname = TQString::fromLatin1(".so.%1").arg(SQ_KL_VER);
+ TQString soname = TQString::fromLatin1(".so.%1").arg(QT_STRINGIFY(SQ_KL_VER));
while((fi = it.current()))
{