/***************************************************************************
                          photo_folder.h  -  description
                             -------------------
    begin                : Sun Jan 13 2002
    copyright            : (C) 2002 by Renchi Raju
    email                : renchi@green.tam.uiuc.edu
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef PHOTO_FOLDER_H
#define PHOTO_FOLDER_H

#include <klistview.h>
#include <kurl.h>

class QString;
class Photo_FolderTree;
class KFileItem;

class Photo_Folder : public KListViewItem  {

 public: 

  Photo_Folder(KListView* parent, KFileItem* item);
  Photo_Folder(KListViewItem* parent, KFileItem* item);	
  ~Photo_Folder();

  void setOpen(bool open);
  KFileItem* getFileItem();
  KURL getURL();
  void refreshItem();

  KURL oldURL;

 private:

  KFileItem* fileItem;

};

#endif
