Version: 3.0.1 (using KDE KDE 3.1.5) Installed from: Debian testing/unstable Packages Compiler: gcc 3.3.3 20031229 OS: Linux When creating a new kicker applet with the wizard, the factory function ist generated with this signature: KPanelApplet* init( QWidget *parent, const QString configFile) According to docs and to my tests it has to be KPanelApplet* init( QWidget *parent, const QString& configFile)
CVS commit by aclu: Fix wrong signature generated for kicker applet factory function CCMAIL: 76426-done@bugs.kde.org Needs to be forward ported M +1 -1 applet.cpp 1.1.2.2 --- kdevelop/languages/cpp/app_templates/kicker/applet.cpp #1.1.2.1:1.1.2.2 @@ -62,5 +62,5 @@ void $APPNAME$::resizeEvent(QResizeEvent extern "C" { - KPanelApplet* init( QWidget *parent, const QString configFile) + KPanelApplet* init( QWidget *parent, const QString& configFile) { KGlobal::locale()->insertCatalogue("$APPNAMELC$");