Port things from MSN to WLM plugin:
[kdenetwork.git] / kopete / protocols / telepathy / ui / telepathyeditparameterwidget.h
blobf3335a00cef95da09af38d090aa3315ad7782eca
1 /*
2 * telepathyeditparameterwidget.h - UI to edit Telepathy connection parameter
4 * Copyright (c) 2006 by Michaƫl Larouche <larouche@kde.org>
5 *
6 * Kopete (c) 2002-2006 by the Kopete developers <kopete-devel@kde.org>
8 *************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 *************************************************************************
17 #ifndef TELEPATHYEDITPARAMETERWIDGET_H
18 #define TELEPATHYEDITPARAMETERWIDGET_H
20 #include <QtGui/QWidget>
22 #include <QtTapioca/ConnectionManager>
24 using namespace QtTapioca;
26 class TelepathyEditParameterWidget : public QWidget
28 Q_OBJECT
29 public:
30 TelepathyEditParameterWidget(const QList<ConnectionManager::Parameter> &paramsList, QWidget *parent);
31 ~TelepathyEditParameterWidget();
33 /**
34 * @brief Get the modified parameters as a list of ConnectionManager::Paramater
36 QList<QtTapioca::ConnectionManager::Parameter> parameterList();
38 /**
39 * @brief Set the parameter read mostly from the config file.
41 void setParameterList(const QList<QtTapioca::ConnectionManager::Parameter> &parameterList);
42 private:
43 class Private;
44 Private *d;
46 #endif