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

List:       kde-devel
Subject:    Re: Weird error
From:       "Aaron J. Seigo" <aseigo () olympusproject ! org>
Date:       2002-07-20 3:59:14
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 19 July 2002 09:59, Pupeno wrote:
> festivalplugin.cpp:4: no matching function for call to
> `PlugInBase::PlugInBase (QObject *&, const char *&)'
> ../../../proklam/proklam/pluginbase.h:10: candidates are:
> PlugInBase::PlugInBase (QWidget * = 0, const
> char * = 0)

you are calling PlugInBase with the parent parameter of of the FestivalPlugIn 
class. parent is a QObject, and QWidget is not a base class to QObject (the 
resverse is true, actually).

you need to change FestivalPlugIn to take a QWidget in its ctor, or PlugInBase 
to take a QObject in its ctor.

- -- 
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

"Everything should be made as simple as possible, but not simpler"
    - Albert Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9OOAS1rcusafx20MRAsG3AJ9+9YPt17ZJHqVWtwhwX6y+6ag7vACggKcq
Ye+pAj/L6dx8hyep/ILnuDU=
=QdTg
-----END PGP SIGNATURE-----

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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