/* -*- 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 tasin@cd1 on Die Nov 30 17:32:39 CET 1999