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

digikam

albumpropsedit.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        : 2003-03-09
00007  * Description : Album properties dialog.
00008  *
00009  * Copyright (C) 2003-2004 by Renchi Raju <renchi@pooh.tam.uiuc.edu>
00010  * Copyright (C) 2005 by Tom Albers <tomalbers@kde.nl>
00011  * Copyright (C) 2006-2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
00012  *
00013  * This program is free software; you can redistribute it
00014  * and/or modify it under the terms of the GNU General
00015  * Public License as published by the Free Software Foundation;
00016  * either version 2, or (at your option)
00017  * any later version.
00018  *
00019  * This program is distributed in the hope that it will be useful,
00020  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00021  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00022  * GNU General Public License for more details.
00023  *
00024  * ============================================================ */
00025 
00026 #ifndef ALBUMPROPSEDIT_H
00027 #define ALBUMPROPSEDIT_H
00028 
00029 // Qt includes.
00030 
00031 #include <QDateTime>
00032 #include <QString>
00033 #include <QStringList>
00034 
00035 // KDE includes.
00036 
00037 #include <kdialog.h>
00038 
00039 namespace Digikam
00040 {
00041 
00042 class PAlbum;
00043 class AlbumPropsEditPriv;
00044 
00045 class AlbumPropsEdit : public KDialog
00046 {
00047     Q_OBJECT
00048     
00049 public:
00050 
00051     AlbumPropsEdit(PAlbum* album, bool create=false);
00052     ~AlbumPropsEdit();
00053 
00054     QString     title() const;
00055     QString     comments() const;
00056     QDate       date() const;
00057     QString     collection() const;
00058     QStringList albumCollections() const;
00059 
00060     static bool editProps(PAlbum *album,
00061                           QString& title,
00062                           QString& comments,
00063                           QDate& date,
00064                           QString& collection,
00065                           QStringList& albumCollections);
00066 
00067     static bool createNew(PAlbum *parent,
00068                           QString& title,
00069                           QString& comments,
00070                           QDate& date,
00071                           QString& collection,
00072                           QStringList& albumCollections);
00073 
00074 private slots:
00075 
00076     void slotTitleChanged(const QString& newtitle);
00077     void slotDateLowButtonClicked();
00078     void slotDateAverageButtonClicked();
00079     void slotDateHighButtonClicked();
00080 
00081 private:
00082 
00083     AlbumPropsEditPriv* d;
00084 };
00085 
00086 }  // namespace Digikam
00087 
00088 #endif /* ALBUMPROPSEDIT_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.4
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