problems compiling an application...

Juan Luis Baptiste fbaptiste at interatworld.com
Tue Jul 25 04:57:38 BST 2000


Hi, I'm developing an aplication but I'm getting this error at
compilation time:

nula.cpp: In method 'void Nula::addWidgets(KApplication *)':
dialogoprincipal.h:42:'dialogoPrincipal::dialogoPrincipal(QWidget
*parent=0,
const char *name=0)' is protected
nula.cpp:34:within this context

Line 42 of dialogoprincipal.h is:
protected:
dialogoPrincipal(QWidget *parent=0, const char *name=0); <---

and line 34 of nula.cpp is:
void Nula::addWidgets(KApplication *a){
dialogoPrincipal *dialogoPrin= new dialogoPrincipal(this,"Widgets");
<---
}


What could it be the problem?

thanks,


--
---------------------------------
Juan Luis Baptiste M.
Pontificia Universidad Javeriana
Ingenieria de Sistemas
Linux Registered User #119248

http://www.merlinux.org

"We're back to the times when
 men where men and wrote their
 own drivers"
 Linus Torvalds.
---------------------------------







More information about the KDevelop mailing list