[Kommander-devel] plugin notices
Andras Mantia
amantia at kde.org
Sat Mar 29 15:49:29 EDT 2008
Hi,
On Saturday 29 March 2008, Alexander Fischer wrote:
> addWidget( "%{APPNAME}", "Custom", i18n("Kommander %{APPNAME}
> plugin."), new
> QIconSet(KGlobal::iconLoader()->loadIcon("%{APPNAMELC}",
> KIcon::NoGroup, KIcon::SizeMedium)) );
>
> I would say there should be either a comment like
>
> /*If you don't plan to use an
> unique self-constructed icon to your plugin, change the first
> parameter in function loadIcon to a KDE default icon of your choice.
> Note that this icon must be unique inside kmdr-editor.*/
I can add it, if you think it makes easier the life of developers.
> Another point is, the plugin template is only available as new
> project while I run kdevelop as C and C++ IDE ("kdevelop --profile
> CandCppIDE") and is not available while running kdevelop as KDE IDE
> (kdevelop --profile KDECppIDE). This was confusing to me because
> kommander is a KDE app and of course the plugin should be likewise.
You're right, it does not show up there (I don't know why), but it is
written in the documentation to check the "Show all project templates"
option.
> The next point is, a fact I never realized before playing with my
> OpenWithDlg plugin, that all dialogs using standard kde/qt functions
> (input_color, input_directory, input_...) are only available in
> english, even if there are locales installed and the kmdr-editor is
> using a language different to english. I don't know if this is a real
> problem but I wondered. This is especially amazing as kmdr-executor
> makes use of the i18n function inside kmdr-scripts.
I don't understand this, but well, might be some issues. In theory a
Kommander dialog should run in the translated language if the
translation is available. Can you test if this is editor specific, or
happens also in the executor?
Andras
--
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://mail01.fortunecookiestudios.com/pipermail/kommander-devel/attachments/20080329/2f6c9358/attachment.pgp
More information about the Kommander-devel
mailing list