/* -*- C++ -*-
 */

#ifndef STRINGLISTEDITDIALOG_H
#define STRINGLISTEDITDIALOG_H

#include <qlist.h>
#include <qsize.h>
#include "DialogBase.h"
#include <qstrlist.h>
#include "stl_headers.h"

class StringListEditWidget;

class StringListEditDialog
  : public DialogBase
{
  // ############################################################################
  Q_OBJECT
  // ----------------------------------------------------------------------------
public:
    /** The constructor creates a dialog, nothing special.
    */
  StringListEditDialog(QWidget* parent=0, const char* name=0);
  virtual ~StringListEditDialog();
  /** {\tt set(..)} sets the contents of the stringlist
    * listbox to the strings in the list.
    */
  void setStrings(const list<string>& strings);
  void setStrings(const QStrList& strings);
  /** {\tt get(..)} returns the possibly changed contents of the listbox.
    */
  void getStrings(list<string>& result);
  void getStrings(QStrList& result);
protected:
  StringListEditWidget* widget;
  // ############################################################################
};

#endif // STRINGLISTEDITDIALOG_H


Documentation generated by root@darkstar.lst.de on Wed Sep 8 17:39:05 CEST 1999