currentXXXName methods

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

currentXXXName methods

Johannes Wienke-3
Hi,

can someone tell me what's the idea behind the various search methods like
static QString currentTimeLineSearchName();
?

They are defined in the various views but as far as I can see this
sounds like being a model-relevant method.

Johannes


_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel

signature.asc (268 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: currentXXXName methods

Marcel Wiesweg
> Hi,
>
> can someone tell me what's the idea behind the various search methods like
> static QString currentTimeLineSearchName();
> ?

It's a special name used for the "current" searches in the database. When
user-visible, these names must be changed to i18n("Current Time Line Search")
etc. The idea is to avoid typing constants.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel