summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/flickrexport/flickrviewitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'kipi-plugins/flickrexport/flickrviewitem.h')
-rw-r--r--kipi-plugins/flickrexport/flickrviewitem.h60
1 files changed, 60 insertions, 0 deletions
diff --git a/kipi-plugins/flickrexport/flickrviewitem.h b/kipi-plugins/flickrexport/flickrviewitem.h
new file mode 100644
index 0000000..9bd5a21
--- /dev/null
+++ b/kipi-plugins/flickrexport/flickrviewitem.h
@@ -0,0 +1,60 @@
+/* ============================================================
+ *
+ * This file is a part of kipi-plugins project
+ * http://www.kipi-plugins.org
+ *
+ * Date : 2004-12-01
+ * Description : a kipi plugin to export images to Flickr web service
+ *
+ * Copyright (C) 2004 by Renchi Raju <renchi@pooh.tam.uiuc.edu>
+ * Copyright (C) 2005-2008 by Vardhman Jain <vardhman at gmail dot com>
+ *
+ * This program is free software; you can redistribute it
+ * and/or modify it under the terms of the GNU 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 General Public License for more details.
+ *
+ * ============================================================ */
+
+#ifndef FLICKRVIEWITEM_H
+#define FLICKRVIEWITEM_H
+
+// Qt includes.
+
+#include <qlistview.h>
+
+// Local includes.
+
+#include "flickritem.h"
+
+namespace KIPIFlickrExportPlugin
+{
+
+class GAlbumViewItem : public QListViewItem
+{
+
+public:
+
+ GAlbumViewItem(QListView* parent, const QString& name, const GAlbum& album);
+ GAlbumViewItem(QListViewItem* parent, const QString& name, const GAlbum& album);
+ ~GAlbumViewItem();
+
+protected:
+
+ void paintCell(QPainter *p, const QColorGroup& cg, int column, int width, int);
+ void paintFocus(QPainter*, const QColorGroup&, const QRect&);
+ void setup();
+
+private:
+
+ GAlbum m_album;
+};
+
+} // namespace KIPIFlickrExportPlugin
+
+#endif /* FLICKRVIEWITEM_H */