Akonadi Contacts

qdialer.cpp
1 /*
2  This file is part of Akonadi Contact.
3 
4  SPDX-FileCopyrightText: 2009 Tobias Koenig <[email protected]>
5  SPDX-FileCopyrightText: 2010 Bjoern Ricks <[email protected]>
6 
7  SPDX-License-Identifier: LGPL-2.0-or-later
8 */
9 
10 #include "qdialer.h"
11 
12 #include <KLocalizedString>
13 
14 QDialer::QDialer(const QString &applicationName)
15  : mApplicationName(applicationName)
16 {
17 }
18 
19 QDialer::~QDialer()
20 {
21 }
22 
23 bool QDialer::dialNumber(const QString &number)
24 {
25  Q_UNUSED(number);
26  mErrorMessage = i18n("Dialing a number is not supported");
27 
28  return false;
29 }
30 
31 bool QDialer::sendSms(const QString &number, const QString &text)
32 {
33  Q_UNUSED(number);
34  Q_UNUSED(text);
35  mErrorMessage = i18n("Sending an SMS is not supported");
36 
37  return false;
38 }
39 
40 QString QDialer::errorMessage() const
41 {
42  return mErrorMessage;
43 }
QString i18n(const char *text, const TYPE &arg...)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Sep 23 2020 23:08:59 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.