qApp->ApplicationName()
Benjamin Meyer
ben at meyerhome.net
Fri Oct 14 19:30:24 BST 2005
Attached is a patch to use QCoreApplication's applicationName(). KInstance
sets the name upon construction. KApplication was using the objectName to
store the application's name. Sidenote: the code reads much easier when
using qApp->applicationName(). With this chance caption() and
makeStdCaption can now be static.
Other small cleanups:
*The enum CaptionLayout wasn't used at all so it was removed
*tempSaveName, checkRecoverFile, and installKDEPropertyMap functions have been
marked as static.
*added few KDE_DEPRECATED that were missing
Please RFC, thanks!
-Benjamin Meyer
--
aka icefox
Public Key: http://www.icefox.net/public_key.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdecore.diff
Type: text/x-diff
Size: 9853 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20051014/0eda6ed0/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20051014/0eda6ed0/attachment.sig>
More information about the kde-core-devel
mailing list