[Kde-java] "QObject.connect: No such argument type" error

Olivier Dragon dragonoe at mcmaster.ca
Sun Dec 5 17:41:13 CET 2004


On Fri, Dec 03, 2004 at 11:03:13PM +0000, Olivier Dragon wrote:
> For example, lets say I have the following files:
> SignalSlotTest.java
> datastruct/TestQObject.java
> 
> I've attached the files to this email. When I run SignalSlotTest I get
> this error: QObject.connect: No such argument type: TestQObject

Turns out I was wrong. I get no error only if both SignalSlotTest.java
and TestQObject.java are in the *default* package. If I have
SignalSlotTest in the default package and TestQObject in another package
I get the error above. If I have

datastruct/SignalSlotTest.java
datastruct/TestQObject.java

or

someotherpackage/SignalSlotTest.java
datastruct/TestQObject.java

I get 2 errors:
QObject.connect: No such argument type: SignalSlotTest
QObject.connect: No such argument type: TestQObject

I really appreciate any help I can get on this.

Thank you.
-Olivier

-- 
          __-/|    ? ?     |\-__
     __--/  /  \   (^^)   /  \  \--__
  _-/   /   /  /\ / ( )  /\  \   \   \-_
 /  /   /  /  /  (   ^^ ~  \  \  \   \  \
 / Oli Dragon    ( dragonoe at mcmaster.ca \
/  B.Eng. Sfwr   (     )    \    \  \    \
/  /  /    /__--_ (   ) __--__\    \  \  \
|  /  /  _/        \_ \_       \_  \  \  |
 \/  / _/            \_ \_       \_ \  \/
  \_/ /                -\_\        \ \_/
    \/                    )         \/
                        *~
        ___--<***************>--___
       [http://dragon.homelinux.org]
        ~~~--<***************>--~~~
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.kde.org/pipermail/kde-java/attachments/20041205/6fa28ea6/attachment.pgp


More information about the Kde-java mailing list