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&)) -->>)<<--;
Subject: kdelibs/kdeui CVS commit by coolo: doxygen should have warned :) CCMAIL: 64262-close@bugs.kde.org M +2 -2 kcombobox.h 1.135 --- kdelibs/kdeui/kcombobox.h #1.134:1.135 @@ -84,5 +84,5 @@ class KURL; * KCompletion *comp = combo->completionObject(); * // Connect to the return pressed signal - optional - * connect(combo,SIGNAL(returnPressed(const QString&)),comp,SLOT(addItem(const QString&)); + * connect(combo,SIGNAL(returnPressed(const QString&)),comp,SLOT(addItem(const QString&))); * * // Provide the to be completed strings. Note that those are separate from the combo's @@ -98,5 +98,5 @@ class KURL; * combo->setCompletionObject( comp ); * // Connect to the return pressed signal - optional - * connect(combo,SIGNAL(returnPressed(const QString&)),comp,SLOT(addItem(const QString&)); + * connect(combo,SIGNAL(returnPressed(const QString&)),comp,SLOT(addItem(const QString&))); * \endcode *