• Skip to content
  • Skip to link menu
  • KDE API Reference
  • KDE Home
  • Contact Us
 

Nepomuk-Core

  • KTp
actions.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012 Dan Vrátil <dvratil@redhat.com>
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17  */
18 
19 #ifndef KTP_ACTIONS_H
20 #define KTP_ACTIONS_H
21 
22 #include <TelepathyQt/Types>
23 
24 #include <KTp/ktp-export.h>
25 
26 namespace Tp {
27 class PendingChannelRequest;
28 class PendingOperation;
29 }
30 
31 namespace KTp {
32 
33 namespace Actions {
34 
35  KTP_EXPORT Tp::PendingChannelRequest* startChat(const Tp::AccountPtr &account,
36  const Tp::ContactPtr &contact,
37  bool delegateToPreferredHandler = true);
38 
39  KTP_EXPORT Tp::PendingChannelRequest* startGroupChat(const Tp::AccountPtr &account,
40  const QString &roomName);
41 
42  KTP_EXPORT Tp::PendingChannelRequest* startAudioCall(const Tp::AccountPtr &account,
43  const Tp::ContactPtr &contact);
44 
45  KTP_EXPORT Tp::PendingChannelRequest* startAudioVideoCall(const Tp::AccountPtr &account,
46  const Tp::ContactPtr &contact);
47 
48  KTP_EXPORT Tp::PendingChannelRequest* startDesktopSharing(const Tp::AccountPtr &account,
49  const Tp::ContactPtr &contact);
50 
51  KTP_EXPORT Tp::PendingChannelRequest* startFileTransfer(const Tp::AccountPtr &account,
52  const Tp::ContactPtr &contact,
53  const QString &filePath);
54 
55  KTP_EXPORT Tp::PendingOperation* startFileTransfer(const Tp::AccountPtr &account,
56  const Tp::ContactPtr &contact,
57  const QUrl &url);
58 
59  KTP_EXPORT void openLogViewer(const Tp::AccountPtr &account,
60  const Tp::ContactPtr &contact);
61 
62 
63 } /* namespace Actions */
64 
65 } /* namespace KTp */
66 
67 #endif // KTP_ACTIONS_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Fri Mar 22 2013 10:58:52 by doxygen 1.8.1.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

ktp-common-internals API Reference

Skip menu "ktp-common-internals API Reference"
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal