93 typedef QHash<OperationType, ApplicationSettings::ApplyToEntireGroup>
OperationModes;
107 void emitSetupChanged();
109 QString generalConfigGroupName()
const;
131 void setSyncBalooToDigikam(
bool val);
132 bool getSyncBalooToDigikam()
const;
134 void setSyncDigikamToBaloo(
bool val);
135 bool getSyncDigikamToBaloo()
const;
139 void setTreeViewIconSize(
int val);
140 int getTreeViewIconSize()
const;
142 void setTreeViewFaceSize(
int val);
143 int getTreeViewFaceSize()
const;
145 void setTreeViewFont(
const QFont& font);
146 QFont getTreeViewFont()
const;
151 void setShowFolderTreeViewItemsCount(
bool val);
152 bool getShowFolderTreeViewItemsCount()
const;
154 void setAlbumMonitoring(
bool val);
155 bool getAlbumMonitoring()
const;
157 void setRecurseAlbums(
bool val);
158 bool getRecurseAlbums()
const;
160 void setRecurseTags(
bool val);
161 bool getRecurseTags()
const;
163 void setAllGroupsOpen(
bool val);
164 bool getAllGroupsOpen()
const;
166 void setAlbumCategoryNames(
const QStringList& list);
167 QStringList getAlbumCategoryNames()
const;
169 bool addAlbumCategoryName(
const QString& name)
const;
170 bool delAlbumCategoryName(
const QString& name)
const;
174 void setDefaultIconSize(
int val);
175 int getDefaultIconSize()
const;
177 void setIconViewFont(
const QFont& font);
178 QFont getIconViewFont()
const;
180 void setImageSortOrder(
int order);
181 int getImageSortOrder()
const;
186 void setImageSorting(
int sorting);
187 int getImageSorting()
const;
189 void setImageSeparationMode(
int mode);
190 int getImageSeparationMode()
const;
192 void setImageSeparationSortOrder(
int order);
193 int getImageSeparationSortOrder()
const;
195 void setItemLeftClickAction(
int action);
196 int getItemLeftClickAction()
const;
198 void setIconShowName(
bool val);
199 bool getIconShowName()
const;
201 void setIconShowSize(
bool val);
202 bool getIconShowSize()
const;
204 void setIconShowTitle(
bool val);
205 bool getIconShowTitle()
const;
207 void setIconShowComments(
bool val);
208 bool getIconShowComments()
const;
210 void setIconShowResolution(
bool val);
211 bool getIconShowResolution()
const;
213 void setIconShowAspectRatio(
bool val);
214 bool getIconShowAspectRatio()
const;
216 void setIconShowTags(
bool val);
217 bool getIconShowTags()
const;
219 void setIconShowDate(
bool val);
220 bool getIconShowDate()
const;
222 void setIconShowModDate(
bool val);
223 bool getIconShowModDate()
const;
225 void setIconShowRating(
bool val);
226 bool getIconShowRating()
const;
228 void setIconShowPickLabel(
bool val);
229 bool getIconShowPickLabel()
const;
231 void setIconShowColorLabel(
bool val);
232 bool getIconShowColorLabel()
const;
234 void setIconShowImageFormat(
bool val);
235 bool getIconShowImageFormat()
const;
237 void setIconShowCoordinates(
bool val);
238 bool getIconShowCoordinates()
const;
243 void setIconShowOverlays(
bool val);
248 bool getIconShowOverlays()
const;
250 void setIconShowFullscreen(
bool val);
251 bool getIconShowFullscreen()
const;
256 void setPreviewShowIcons(
bool val);
257 bool getPreviewShowIcons()
const;
259 void setScaleFitToWindow(
bool val);
260 bool getScaleFitToWindow()
const;
262 void setPreviewSmoothScaled(
bool val);
263 bool getPreviewSmoothScaled()
const;
267 QString getImageFileFilter()
const;
268 QString getMovieFileFilter()
const;
269 QString getAudioFileFilter()
const;
270 QString getRawFileFilter()
const;
271 QString getAllFileFilter()
const;
277 bool showToolTipsIsValid()
const;
278 bool showAlbumToolTipsIsValid()
const;
280 void setToolTipsFont(
const QFont& font);
281 QFont getToolTipsFont()
const;
283 void setShowToolTips(
bool val);
284 bool getShowToolTips()
const;
286 void setToolTipsShowFileName(
bool val);
287 bool getToolTipsShowFileName()
const;
289 void setToolTipsShowFileDate(
bool val);
290 bool getToolTipsShowFileDate()
const;
292 void setToolTipsShowFileSize(
bool val);
293 bool getToolTipsShowFileSize()
const;
295 void setToolTipsShowImageType(
bool val);
296 bool getToolTipsShowImageType()
const;
298 void setToolTipsShowImageDim(
bool val);
299 bool getToolTipsShowImageDim()
const;
301 void setToolTipsShowImageAR(
bool val);
302 bool getToolTipsShowImageAR()
const;
304 void setToolTipsShowPhotoMake(
bool val);
305 bool getToolTipsShowPhotoMake()
const;
307 void setToolTipsShowPhotoLens(
bool val);
308 bool getToolTipsShowPhotoLens()
const;
310 void setToolTipsShowPhotoDate(
bool val);
311 bool getToolTipsShowPhotoDate()
const;
313 void setToolTipsShowPhotoFocal(
bool val);
314 bool getToolTipsShowPhotoFocal()
const;
316 void setToolTipsShowPhotoExpo(
bool val);
317 bool getToolTipsShowPhotoExpo()
const;
319 void setToolTipsShowPhotoMode(
bool val);
320 bool getToolTipsShowPhotoMode()
const;
322 void setToolTipsShowPhotoFlash(
bool val);
323 bool getToolTipsShowPhotoFlash()
const;
325 void setToolTipsShowPhotoWB(
bool val);
326 bool getToolTipsShowPhotoWB()
const;
328 void setToolTipsShowAlbumName(
bool val);
329 bool getToolTipsShowAlbumName()
const;
331 void setToolTipsShowTitles(
bool val);
332 bool getToolTipsShowTitles()
const;
334 void setToolTipsShowComments(
bool val);
335 bool getToolTipsShowComments()
const;
337 void setToolTipsShowTags(
bool val);
338 bool getToolTipsShowTags()
const;
340 void setToolTipsShowLabelRating(
bool val);
341 bool getToolTipsShowLabelRating()
const;
343 void setShowAlbumToolTips(
bool val);
344 bool getShowAlbumToolTips()
const;
346 void setToolTipsShowAlbumTitle(
bool val);
347 bool getToolTipsShowAlbumTitle()
const;
349 void setToolTipsShowAlbumDate(
bool val);
350 bool getToolTipsShowAlbumDate()
const;
352 void setToolTipsShowAlbumCollection(
bool val);
353 bool getToolTipsShowAlbumCollection()
const;
355 void setToolTipsShowAlbumCategory(
bool val);
356 bool getToolTipsShowAlbumCategory()
const;
358 void setToolTipsShowAlbumCaption(
bool val);
359 bool getToolTipsShowAlbumCaption()
const;
361 void setToolTipsShowAlbumPreview(
bool val);
362 bool getToolTipsShowAlbumPreview()
const;
364 void setToolTipsShowVideoAspectRatio(
bool val);
365 bool getToolTipsShowVideoAspectRatio()
const;
367 void setToolTipsShowVideoAudioBitRate(
bool val);
368 bool getToolTipsShowVideoAudioBitRate()
const;
370 void setToolTipsShowVideoAudioChannelType(
bool val);
371 bool getToolTipsShowVideoAudioChannelType()
const;
373 void setToolTipsShowVideoAudioCodec(
bool val);
374 bool getToolTipsShowVideoAudioCodec()
const;
376 void setToolTipsShowVideoDuration(
bool val);
377 bool getToolTipsShowVideoDuration()
const;
379 void setToolTipsShowVideoFrameRate(
bool val);
380 bool getToolTipsShowVideoFrameRate()
const;
382 void setToolTipsShowVideoVideoCodec(
bool val);
383 bool getToolTipsShowVideoVideoCodec()
const;
387 void setScanAtStart(
bool val);
388 bool getScanAtStart()
const;
390 void setCleanAtStart(
bool val);
391 bool getCleanAtStart()
const;
393 void setDatabaseDirSetAtCmd(
bool val);
394 bool getDatabaseDirSetAtCmd()
const;
396 void setUseTrash(
bool val);
397 bool getUseTrash()
const;
399 void setShowTrashDeleteDialog(
bool val);
400 bool getShowTrashDeleteDialog()
const;
402 void setShowPermanentDeleteDialog(
bool val);
403 bool getShowPermanentDeleteDialog()
const;
405 void setApplySidebarChangesDirectly(
bool val);
406 bool getApplySidebarChangesDirectly()
const;
408 void setUseNativeFileDialog(
bool val);
409 bool getUseNativeFileDialog()
const;
411 void setDrawFramesToGrouped(
bool val);
412 bool getDrawFramesToGrouped()
const;
414 void setSelectFirstAlbumItem(
bool val);
415 bool getSelectFirstAlbumItem()
const;
417 void setExpandNewCurrentItem(
bool val);
418 bool getExpandNewCurrentItem()
const;
420 void setScrollItemToCenter(
bool val);
421 bool getScrollItemToCenter()
const;
423 void setShowOnlyPersonTagsInPeopleSidebar(
bool val);
424 bool showOnlyPersonTagsInPeopleSidebar()
const;
426 void setDetectFacesInNewImages(
bool val);
427 bool getDetectFacesInNewImages()
const;
443 bool isStringTypeNatural()
const;
445 void setApplicationStyle(
const QString& style);
446 QString getApplicationStyle()
const;
448 void setIconTheme(
const QString& theme);
449 QString getIconTheme()
const;
451 void setApplicationFont(
const QFont& fnt);
452 QFont getApplicationFont()
const;
454 void setShowSplashScreen(
bool val);
455 bool getShowSplashScreen()
const;
457 void setCurrentTheme(
const QString& theme);
458 QString getCurrentTheme()
const;
463 int getUpdateType()
const;
464 void setUpdateType(
int type);
466 bool getUpdateWithDebug()
const;
467 void setUpdateWithDebug(
bool dbg);
472 int getFaceDetectionAccuracy()
const;
473 void setFaceDetectionAccuracy(
int value);
481 int getFaceRecognitionAccuracy()
const;
482 void setFaceRecognitionAccuracy(
int value);
487 void setShowThumbbar(
bool val);
488 bool getShowThumbbar()
const;
490 void setRatingFilterCond(
int val);
491 int getRatingFilterCond()
const;
493 void setMinimumSimilarityBound(
int val);
494 int getMinimumSimilarityBound()
const;
496 void setDuplicatesSearchLastMinSimilarity(
int val);
497 int getDuplicatesSearchLastMinSimilarity()
const;
499 void setDuplicatesSearchLastMaxSimilarity(
int val);
500 int getDuplicatesSearchLastMaxSimilarity()
const;
546 void setDuplicatesAlbumTagRelation(
int val);
547 int getDuplicatesAlbumTagRelation()
const;
552 void setDuplicatesSearchRestrictions(
int val);
553 int getDuplicatesSearchRestrictions()
const;
555 void setHelpBoxNotificationSeen(
bool val);
556 bool getHelpBoxNotificationSeen();
560 void applyBalooSettings();
569 KConfigGroup generalConfigGroup()
const;
573 friend class ApplicationSettingsCreator;