From kde-devel Sat Jul 20 03:59:14 2002 From: "Aaron J. Seigo" Date: Sat, 20 Jul 2002 03:59:14 +0000 To: kde-devel Subject: Re: Weird error X-MARC-Message: https://marc.info/?l=kde-devel&m=102713960221158 -----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 <<