Subversion Repositories public

Rev

Rev 283 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
283 andreas 1
//
2
// C++ Interface:
3
//
4
// Description:
5
//
6
//
7
// Author: Andreas Theofilu <andreas@theosys.at>, (C) 2009
8
//
9
// Copyright: See COPYING file that comes with this distribution
10
//
11
//
12
 
13
#ifndef WMSCAPABILITIESWIDGET_H
14
#define WMSCAPABILITIESWIDGET_H
15
 
16
#include <QDialog>
17
#include <QString>
18
#include <KLineEdit>
19
#include <KListWidget>
20
#include "ui_wmscapabilitieswidgetbase.h"
21
 
22
class wmsCapabilitiesWidget : public QDialog, private Ui::wmsCapabilitiesWidgetBase
23
{
24
		Q_OBJECT
25
 
26
	public:
27
		wmsCapabilitiesWidget (QWidget* parent = 0, Qt::WFlags fl = 0);
28
		~wmsCapabilitiesWidget();
29
		/*$PUBLIC_FUNCTIONS$*/
285 andreas 30
		void setName(QString s) { edName->setText(s); };
31
		void setTitle(QString s) { edTitle->setText(s); };
32
		void setAbstract(QString s) { txAbstract->setText(s); };
33
		void setOnline(QString s) { edOnline->setText(s); };
34
 
283 andreas 35
		void setPerson(QString s) { edPerson->setText(s); };
36
		void setOrg(QString s) { edOrg->setText(s); };
37
		void setPhone(QString s) { edPhone->setText(s); };
38
		void setFax(QString s) { edFax->setText(s); };
39
		void setMail(QString s) { edMail->setText(s); };
285 andreas 40
 
41
		void setAddress(QString s) { edAddress->setText(s); };
42
		void setCity(QString s) { edCity->setText(s); };
43
		void setState(QString s) { edState->setText(s); };
44
		void setPostCode(QString s) { edPostCode->setText(s); };
45
		void setCountry(QString s) { edCountry->setText(s); };
46
 
283 andreas 47
		void setCapabilitiesGet(QString s) { edCapabilitiesGet->setText(s); };
48
		void setCapabilitiesPost(QString s) { edCapabilitiesPost->setText(s); };
49
		void setFormat(QString s) { edFormat->setText(s); };
285 andreas 50
 
283 andreas 51
		void setMapGet(QString s) { edMapGet->setText(s); };
52
		void setMapPost(QString s) { edMapPost->setText(s); };
53
		void addFormats(QString s) { liFormats->addItem(s); };
285 andreas 54
		void addFeatures(QString s) { liFeatures->addItem(s); };
55
		void addDate(QString s) { liDate->addItem(s); };
283 andreas 56
 
57
	public slots:
58
		/*$PUBLIC_SLOTS$*/
59
 
60
	protected:
61
		/*$PROTECTED_FUNCTIONS$*/
62
 
63
	protected slots:
64
		/*$PROTECTED_SLOTS$*/
65
};
66
 
67
#endif
68