[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-devel
Subject:    Bug#46162: create_xyz Kcontrol module name
From:       jean-christophe.fargette () wanadoo ! fr
Date:       2002-08-05 20:05:27
[Download RAW message or body]

Package: kdevelop
Version: KDevelop-2.1.1 (using KDE 3.0.1 )
Severity: normal
Installed from:    Slackware Packages
Compiler:          from slackware-8.1
OS:                Linux
OS/Compiler notes: Not Specified

It's not really a bug, but I had a hard time to find out my problem.
May be you should change this in future version a kdevelop. (I'm using 
kdevelop-2.1.1)

When you create a project the first letter is uppercase. Fine.
But in the name function, instead having create_knetswitcher, I had 
create_Knetswitcher with an uppercase too.
That cause an error when loading the library with kcontrol.

Example :
extern "C"
{

        KCModule *create_Knetswitcher(QWidget *parent, const char *name)
        {
                KGlobal::locale()->insertCatalogue("Knetswitcher");
                return new Knetswitcher(parent, name);
        }
}

Jean-Christophe Fargette


(Submitted via bugs.kde.org)


(Complete bug history is available at http://bugs.kde.org/db/46/46162.html)

_______________________________________________
Kdevelop-devel mailing list
Kdevelop-devel@barney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic