[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Re: KIllustrator
From:       Tobias Burnus <burnus () gmx ! de>
Date:       1999-09-22 11:29:31
[Download RAW message or body]

Hi,

> using the current cvs version of KIllustrator (as standard alone version, I
> presently don't want to build klib + ksupport + ...) I have a problem with the
> file
> koffice/killustrator/standalone/KIllustrator.cc
> +  if (fname.right (4).compare (".kil") != 0)
> KIllustrator.cc:1231: no matching function for call to `QString::compare (const
> char[5])'

Ok I found the problem: in Qt 1.44 there isn't QString.compare, but in Qt 2.0.x
is it.
Does that mean, that KIllustrator drops the support of KDE 1.x or at least of Qt
1.44?
Using "if (fname.right (4) == ".kil"  != 0)" instead of
"if (fname.right (4).compare (".kil") != 0)" should work with both Qt versions.

Regards,

Tobias

PS: Can I regard this code a work in progress?
+bool KIllustratorDocument::completeSaving (KOStore::Store_ptr store) {
+  if (!store)
+    return true;
+
+  return true;
+}

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic