Akonadi Contacts

qdialer.h
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 #pragma once
11 
12 #include <QString>
13 
14 class QDialer
15 {
16 public:
17  explicit QDialer(const QString &applicationName);
18  virtual ~QDialer();
19 
20  Q_REQUIRED_RESULT virtual bool dialNumber(const QString &number);
21  Q_REQUIRED_RESULT virtual bool sendSms(const QString &number, const QString &text);
22 
23  Q_REQUIRED_RESULT QString errorMessage() const;
24 
25 protected:
26  const QString mApplicationName;
27  QString mErrorMessage;
28 };
KCALUTILS_EXPORT QString errorMessage(const KCalendarCore::Exception &exception)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Apr 1 2023 04:09:05 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.