[PATCH] New configDialogSize() and saveDialogSize() methods
Christian Loose
christian.loose at hamburg.de
Sun Jan 19 17:20:49 GMT 2003
Am Sonntag, 19. Januar 2003 18:09 schrieb Waldo Bastian:
> On Sunday 19 January 2003 17:59, Christian Loose wrote:
> > Hi everybody,
> >
> > For Cervisia we need a possibility to save and retrieve the size of a
> > dialog to/from the configuration file of the part. So I like to add two
> > new methods to KDialogBase which receive a KConfig pointer to the
> > corresponding configuration file. This is similar to the saveLayout() and
> > restoreLayout() in KListView.
> >
> > So is the attached patch okay to commit?
>
> Can you let the old saveDialogSize() function call this new one so that
> there is less code duplication? I guess that applies to configDialogSize()
> as well.
No problem for configDialogSize() (see attached patch) but what about the
global option of saveDialogSize()? This doesn't make much sense for the
variant with KConfig*, does it?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pass-kconfig-01.diff
Type: text/x-diff
Size: 4035 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20030119/4c743538/attachment.diff>
More information about the kde-core-devel
mailing list