From 82f79e1df065b59b8c17017d676206be30397bc6 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 17 Jan 2010 18:57:42 +0000 Subject: Added old KDE3 version of libkipi git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/libraries/libkipi@1076200 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkipi/libkipi/imagedialog.h | 83 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 libkipi/libkipi/imagedialog.h (limited to 'libkipi/libkipi/imagedialog.h') diff --git a/libkipi/libkipi/imagedialog.h b/libkipi/libkipi/imagedialog.h new file mode 100644 index 0000000..d23419c --- /dev/null +++ b/libkipi/libkipi/imagedialog.h @@ -0,0 +1,83 @@ +/* ============================================================ + * File : imagedialog.h + * Authors: KIPI team developers (see AUTHORS files for details) + * + * Date : 2004-05 + * Description : an image files selector dialog. + * + * Copyright 2004 by the KIPI team + * + * This program is free software; you can redistribute it + * and/or modify it under the terms of the GNU Library General + * Public License as published by the Free Software Foundation; + * either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Library General Public License for more details. + * + * ============================================================ */ + +#ifndef IMAGEDIALOG_H +#define IMAGEDIALOG_H + +// Qt includes. + +#include +#include + +// KDE includes. + +#include +#include + +// LibKipi includes. + +#include "libkipi/interface.h" +#include "libkipi/imagecollection.h" +#include "libkipi/libkipi_export.h" + +class QListViewItem; + +class KFileItem; +class KListView; + +namespace KIPI +{ + + +class LIBKIPI_EXPORT ImageDialog : public KDialogBase +{ +Q_OBJECT + + class Private; + +public: + + ImageDialog(QWidget*, Interface*, bool singleSelection=false); + ~ImageDialog(); + + KURL url() const; + KURL::List urls() const; + + static KURL getImageURL(QWidget*, Interface*); + static KURL::List getImageURLs(QWidget*, Interface*); + +private slots: + + void fillImageList(QListViewItem*); + void slotImageSelected(QListViewItem*); + void slotImagesSelected(); + void slotGotPreview(const KFileItem* , const QPixmap&); + void slotHelp( void ); + void slotInitialShow(); + +private: + Private* d; +}; + +} // namespace KIPI + +#endif /* IMAGECOLLECTIONDIALOG_H */ -- cgit v1.2.3