akonadi
qdialer.cpp
00001 /* 00002 This file is part of Akonadi Contact. 00003 00004 Copyright (c) 2009 Tobias Koenig <tokoe@kde.org> 00005 2010 Bjoern Ricks <bjoern.ricks@intevation.de> 00006 00007 This library is free software; you can redistribute it and/or modify it 00008 under the terms of the GNU Library General Public License as published by 00009 the Free Software Foundation; either version 2 of the License, or (at your 00010 option) any later version. 00011 00012 This library is distributed in the hope that it will be useful, but WITHOUT 00013 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00014 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public 00015 License for more details. 00016 00017 You should have received a copy of the GNU Library General Public License 00018 along with this library; see the file COPYING.LIB. If not, write to the 00019 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 00020 02110-1301, USA. 00021 */ 00022 00023 #include "qdialer.h" 00024 00025 #include <klocale.h> 00026 00027 QDialer::QDialer( const QString &applicationName) 00028 : mApplicationName( applicationName ) 00029 { 00030 } 00031 00032 QDialer::~QDialer() 00033 { 00034 } 00035 00036 bool QDialer::dialNumber( const QString &number ) 00037 { 00038 mErrorMessage = i18n( "Dialing a number is not supported" ); 00039 00040 return false; 00041 } 00042 00043 bool QDialer::sendSms( const QString &number, const QString &text ) 00044 { 00045 mErrorMessage = i18n( "Sending an SMS is not supported" ); 00046 00047 return false; 00048 } 00049 00050 QString QDialer::errorMessage() const 00051 { 00052 return mErrorMessage; 00053 }
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu May 10 2012 22:18:35 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu May 10 2012 22:18:35 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.