Bug#1906: Bug in Docu [08:27,09.09.99]

AOtto at t-online.de AOtto at t-online.de
Thu Sep 9 06:32:01 UTC 1999


Package: kdevelop
Version: 1.0beta2
Severity: normal

Bugreport ID : 08:27,09.09.99

Originator	: aotto
E-Mail	: aotto at t-online.de

Subject : Bug in Docu

Error Class	: documentation bug
Error Location: documentation browser
Priority	: medium
Bug Description ---------------------------

Programming Handbook
2. The KDE and Qt Libraries

Code example:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
#include <qapplication.h>
#include <qpushbutton.h>

int main( int argc, char **argv )
{
QApplication a( argc, argv );

QPushButton hello( "Hello world!" );
hello.resize( 100, 30 );

a.setMainWidget( &hello );

connect(&hello, SIGNAL( clicked() ), &a, SLOT( quit() ); <== FALSE need extra ")"

hello.show();
return a.exec();
}
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

please correct ...


How to repeat the error -------------------

See Description

Bugfix or Workaround ----------------------

See Description

System Information ------------------------

KDevelop version	: 1.0beta2
KDE version		: 1.1.1
QT version		: 1.44
OS/Distribution	: Linux Suse 6.2
Compiler		: egcs




More information about the KDevelop-devel mailing list