File indexing completed on 2023-11-26 04:55:36
0001 /* 0002 * This file is part of telepathy-accounts-kcm 0003 * 0004 * Copyright (C) 2009 Collabora Ltd. <info@collabora.com> 0005 * Copyright (C) 2011 Thomas Richard <thomas.richard@proan.be> 0006 * Copyright (C) 2011 Dominik Schmidt <kde@dominik-schmidt.de> 0007 * Copyright (C) 2011 Daniele E. Domenichelli <daniele.domenichelli@gmail.com> 0008 * 0009 * This library is free software; you can redistribute it and/or 0010 * modify it under the terms of the GNU Lesser General Public 0011 * License as published by the Free Software Foundation; either 0012 * version 2.1 of the License, or (at your option) any later version. 0013 * 0014 * This library is distributed in the hope that it will be useful, 0015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0017 * Lesser General Public License for more details. 0018 * 0019 * You should have received a copy of the GNU Lesser General Public 0020 * License along with this library; if not, write to the Free Software 0021 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 0022 */ 0023 0024 #ifndef KCM_TELEPATHY_SALUT_ENABLE_ACCOUNT_DIALOG_H 0025 #define KCM_TELEPATHY_SALUT_ENABLE_ACCOUNT_DIALOG_H 0026 0027 #include <KDialog> 0028 #include <KMessageWidget> 0029 0030 #include <TelepathyQt/Types> 0031 0032 class SalutDetailsDialog : public KDialog 0033 { 0034 Q_OBJECT 0035 Q_DISABLE_COPY(SalutDetailsDialog) 0036 0037 public: 0038 explicit SalutDetailsDialog(const Tp::ProfileManagerPtr profileManager, const Tp::ConnectionManagerPtr connectionManager, QWidget *parent = 0); 0039 virtual ~SalutDetailsDialog(); 0040 0041 Q_SIGNALS: 0042 void feedbackMessage(const QString &text, const QString &comment, KMessageWidget::MessageType); 0043 void dialogAccepted(const QString &displayName, const QVariantMap &values); 0044 0045 private: 0046 void accept(); 0047 0048 class Private; 0049 Private * const d; 0050 }; 0051 0052 0053 #endif // KCM_TELEPATHY_SALUT_ENABLE_ACCOUNT_DIALOG_H