|
|
|
@ -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()))
|
|
|
|
|
{
|
|
|
|
|