• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

digikam

albumiconviewfilter.h

Go to the documentation of this file.
00001 /* ============================================================
00002  *
00003  * This file is a part of digiKam project
00004  * http://www.digikam.org
00005  *
00006  * Date        : 2007-11-27
00007  * Description : a bar to filter album contents
00008  *
00009  * Copyright (C) 2007-2009 by Gilles Caulier <caulier dot gilles at gmail dot com>
00010  *
00011  * This program is free software; you can redistribute it
00012  * and/or modify it under the terms of the GNU General
00013  * Public License as published by the Free Software Foundation;
00014  * either version 2, or (at your option)
00015  * any later version.
00016  *
00017  * This program is distributed in the hope that it will be useful,
00018  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00019  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020  * GNU General Public License for more details.
00021  *
00022  * ============================================================ */
00023 
00024 #ifndef ALBUMICONVIEWFILTER_H
00025 #define ALBUMICONVIEWFILTER_H
00026 
00027 // Qt includes
00028 
00029 #include "QString"
00030 
00031 // KDE includes
00032 
00033 #include "khbox.h"
00034 
00035 // Local includes
00036 
00037 #include "searchtextbar.h"
00038 #include "imagefiltersettings.h"
00039 
00040 class QEvent;
00041 class QObject;
00042 
00043 namespace Digikam
00044 {
00045 
00046 class AlbumIconViewFilterPriv;
00047 
00048 class AlbumIconViewFilter : public KHBox
00049 {
00050     Q_OBJECT
00051 
00052 public:
00053 
00054     AlbumIconViewFilter(QWidget* parent);
00055     ~AlbumIconViewFilter();
00056 
00057     void readSettings();
00058     void saveSettings();
00059 
00060 public Q_SLOTS:
00061 
00062     void slotFilterMatches(bool);
00063     void slotFilterMatchesForText(bool);
00064     void slotFilterSettingsChanged(const ImageFilterSettings &settings);
00065 
00066 Q_SIGNALS:
00067 
00068     void resetTagFilters();
00069     void ratingFilterChanged(int, ImageFilterSettings::RatingCondition);
00070     void mimeTypeFilterChanged(int);
00071     void textFilterChanged(const SearchTextSettings&);
00072 
00073 private:
00074 
00075     bool eventFilter(QObject *object, QEvent *e);
00076 
00077 private:
00078 
00079     AlbumIconViewFilterPriv* const d;
00080 };
00081 
00082 }  // namespace Digikam
00083 
00084 #endif // ALBUMICONVIEWFILTER_H

digikam

Skip menu "digikam"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • digikam
Generated for API Reference by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal