/* ============================================================
 * File  : galleryconfig.h
 * Author: Colin Guthrie <kde@colin.guthr.ie>
 * Date  : 2006-09-04
 * Copyright 2006 by Colin Guthrie <kde@colin.guthr.ie>
 *
 * 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 GALLERYCONFIG_H
#define GALLERYCONFIG_H

#include <kdialogbase.h>
#include <tqvaluelist.h>
#include <tqpair.h>
#include <tqintdict.h>

namespace KIPIGalleryExportPlugin
{

class Gallery;

class GalleryEdit : public KDialogBase
{
  Q_OBJECT
  TQ_OBJECT

public:

  GalleryEdit(TQWidget* pParent,
              Gallery* pGallery,
              TQString title);
  ~GalleryEdit();

private:

  Gallery*         mpGallery;
  TQLabel*          mpHeaderLabel;
  TQLineEdit*       mpNameEdit;
  TQLineEdit*       mpUrlEdit;
  TQLineEdit*       mpUsernameEdit;
  TQLineEdit*       mpPasswordEdit;
  TQCheckBox*       mpGalleryVersion;

private slots:
  void slotOk(void);
};

}

#endif /* GALLERYCONFIG_H */
