-rw-r--r-- | libopie2/opiepim/ui/opimmainwindow.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libopie2/opiepim/ui/opimmainwindow.cpp b/libopie2/opiepim/ui/opimmainwindow.cpp index 7e57f3a..d1eec19 100644 --- a/libopie2/opiepim/ui/opimmainwindow.cpp +++ b/libopie2/opiepim/ui/opimmainwindow.cpp | |||
@@ -40,29 +40,28 @@ void OPimMainWindow::appMessage( const QCString& cmd, const QByteArray& array ) | |||
40 | */ | 40 | */ |
41 | QDataStream stream(array, IO_ReadOnly); | 41 | QDataStream stream(array, IO_ReadOnly); |
42 | if ( cmd == "create()" ) { | 42 | if ( cmd == "create()" ) { |
43 | int uid = create(); | 43 | int uid = create(); |
44 | QCopEnvelope e(m_str, "created(int)" ); | 44 | QCopEnvelope e(m_str, "created(int)" ); |
45 | e << uid; | 45 | e << uid; |
46 | }else if ( cmd == "remove(int)" ) { | 46 | }else if ( cmd == "remove(int)" ) { |
47 | int uid; | 47 | int uid; |
48 | stream >> uid; | 48 | stream >> uid; |
49 | bool rem = remove( uid ); | 49 | bool rem = remove( uid ); |
50 | QCopEnvelope e(m_str, "removed(bool)" ); | 50 | QCopEnvelope e(m_str, "removed(bool)" ); |
51 | e << rem; | 51 | e << rem; |
52 | }else if ( cmd == "beam(int,int)" ) { | 52 | }else if ( cmd == "beam(int)" ) { |
53 | int uid, trans; | 53 | int uid, trans; |
54 | stream >> uid; | 54 | stream >> uid; |
55 | stream >> trans; | 55 | beam( uid); |
56 | beam( uid, trans ); | ||
57 | }else if ( cmd == "show(int)" ) { | 56 | }else if ( cmd == "show(int)" ) { |
58 | int uid; | 57 | int uid; |
59 | stream >> uid; | 58 | stream >> uid; |
60 | show( uid ); | 59 | show( uid ); |
61 | }else if ( cmd == "edit(int)" ) { | 60 | }else if ( cmd == "edit(int)" ) { |
62 | int uid; | 61 | int uid; |
63 | stream >> uid; | 62 | stream >> uid; |
64 | edit( uid ); | 63 | edit( uid ); |
65 | }else if ( cmd == "add(int,QByteArray)" ) { | 64 | }else if ( cmd == "add(int,QByteArray)" ) { |
66 | int rtti; | 65 | int rtti; |
67 | QByteArray array; | 66 | QByteArray array; |
68 | stream >> rtti; | 67 | stream >> rtti; |