You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kipi-plugins/kipi-plugins/flickrexport/flickrviewitem.h

61 lines
1.6 KiB

/* ============================================================
*
* 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
// TQt includes.
#include <tqlistview.h>
// Local includes.
#include "flickritem.h"
namespace KIPIFlickrExportPlugin
{
class GAlbumViewItem : public TQListViewItem
{
public:
GAlbumViewItem(TQListView* parent, const TQString& name, const GAlbum& album);
GAlbumViewItem(TQListViewItem* parent, const TQString& name, const GAlbum& album);
~GAlbumViewItem();
protected:
void paintCell(TQPainter *p, const TQColorGroup& cg, int column, int width, int);
void paintFocus(TQPainter*, const TQColorGroup&, const TQRect&);
void setup();
private:
GAlbum m_album;
};
} // namespace KIPIFlickrExportPlugin
#endif /* FLICKRVIEWITEM_H */