1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
/*
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
*/
/*
Copyright (C) 2005 Francois Chazal <neptune3k@free.fr>
Copyright (C) 2006-2007 Eike Hein <hein@kde.org>
*/
#ifndef DCOP_INTERFACE_H
# define DCOP_INTERFACE_H
#include <dcopobject.h>
class DCOPInterface : virtual public DCOPObject
{
K_DCOP
k_dcop:
virtual void slotToggleState() = 0;
virtual void slotAddSession() = 0;
virtual void slotRemoveSession() = 0;
virtual void slotRemoveSession(int session_id) = 0;
virtual void slotRemoveTerminal() = 0;
virtual void slotRemoveTerminal(int session_id) = 0;
virtual void slotRemoveTerminal(int session_id, int terminal_id) = 0;
virtual void slotRenameSession(int session_id, const TQString & name) = 0;
virtual const TQString sessionIdList() = 0;
virtual const TQString terminalIdList(int session_id) = 0;
virtual int tabPositionForSessionId(int session_id) = 0;
virtual int sessionIdForTabPosition(int position) = 0;
virtual int selectedSession() = 0;
virtual int selectedTerminal() = 0;
virtual void slotSelectSession(int session_id) = 0;
virtual void slotSelectTabPosition(int position) = 0;
virtual const TQString slotSessionName() = 0;
virtual const TQString slotSessionName(int session_id) = 0;
virtual const TQString slotSessionTitle() = 0;
virtual const TQString slotSessionTitle(int session_id) = 0;
virtual const TQString slotSessionTitle(int session_id, int terminal_id) = 0;
virtual void slotSetSessionTitleText(const TQString& title) = 0;
virtual void slotSetSessionTitleText(int session_id, const TQString& title) = 0;
virtual void slotSetSessionTitleText(int session_id, int terminal_id, const TQString& title) = 0;
virtual void slotPasteClipboard() = 0;
virtual void slotPasteClipboard(int session_id) = 0;
virtual void slotPasteClipboard(int session_id, int terminal_id) = 0;
virtual void slotPasteSelection() = 0;
virtual void slotPasteSelection(int session_id) = 0;
virtual void slotPasteSelection(int session_id, int terminal_id) = 0;
virtual void slotRunCommandInSession(const TQString& command) = 0;
virtual void slotRunCommandInSession(int session_id, const TQString& command) = 0;
virtual void slotRunCommandInSession(int session_id, int terminal_id, const TQString& command) = 0;
virtual void slotSplitHorizontally() = 0;
virtual void slotSplitHorizontally(int session_id) = 0;
virtual void slotSplitHorizontally(int session_id, int terminal_id) = 0;
virtual void slotSplitVertically() = 0;
virtual void slotSplitVertically(int session_id) = 0;
virtual void slotSplitVertically(int session_id, int terminal_id) = 0;
};
#endif /* DCOP_INTERFACE_H */
|