[kde-doc-english] [Bug 64262] New: Incorrect source example in KComboBox class documentation page

Colin Desmond colin.desmond at btopenworld.com
Sun Sep 14 15:22:13 CEST 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=64262     
           Summary: Incorrect source example in KComboBox class
                    documentation page
           Product: docs
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kde-doc-english at kde.org
        ReportedBy: colin.desmond at btopenworld.com


Version:            (using KDE KDE 3.1.3)
Installed from:    Compiled From Sources
Compiler:          gcc 3.3 
OS:          Linux

The following code sample on the KComboBox documentation page (http://developer.kde.org/documentation/library/cvs-api/kdeui/html/classKComboBox.html)
should have an extra ")" before the final ";"

connect(combo,SIGNAL(returnPressed(const QString&)),comp,SLOT(addItem(const QString&));

should be

connect(combo,SIGNAL(returnPressed(const QString&)),comp,SLOT(addItem(const QString&)) -->>)<<--;


More information about the kde-doc-english mailing list