summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/pim/opimmainwindow.cpp5
-rw-r--r--libopie2/opiepim/ui/opimmainwindow.cpp5
2 files changed, 4 insertions, 6 deletions
diff --git a/libopie/pim/opimmainwindow.cpp b/libopie/pim/opimmainwindow.cpp
index 7e57f3a..d1eec19 100644
--- a/libopie/pim/opimmainwindow.cpp
+++ b/libopie/pim/opimmainwindow.cpp
@@ -40,29 +40,28 @@ void OPimMainWindow::appMessage( const QCString& cmd, const QByteArray& array )
*/
QDataStream stream(array, IO_ReadOnly);
if ( cmd == "create()" ) {
int uid = create();
QCopEnvelope e(m_str, "created(int)" );
e << uid;
}else if ( cmd == "remove(int)" ) {
int uid;
stream >> uid;
bool rem = remove( uid );
QCopEnvelope e(m_str, "removed(bool)" );
e << rem;
- }else if ( cmd == "beam(int,int)" ) {
+ }else if ( cmd == "beam(int)" ) {
int uid, trans;
stream >> uid;
- stream >> trans;
- beam( uid, trans );
+ beam( uid);
}else if ( cmd == "show(int)" ) {
int uid;
stream >> uid;
show( uid );
}else if ( cmd == "edit(int)" ) {
int uid;
stream >> uid;
edit( uid );
}else if ( cmd == "add(int,QByteArray)" ) {
int rtti;
QByteArray array;
stream >> rtti;
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 )
*/
QDataStream stream(array, IO_ReadOnly);
if ( cmd == "create()" ) {
int uid = create();
QCopEnvelope e(m_str, "created(int)" );
e << uid;
}else if ( cmd == "remove(int)" ) {
int uid;
stream >> uid;
bool rem = remove( uid );
QCopEnvelope e(m_str, "removed(bool)" );
e << rem;
- }else if ( cmd == "beam(int,int)" ) {
+ }else if ( cmd == "beam(int)" ) {
int uid, trans;
stream >> uid;
- stream >> trans;
- beam( uid, trans );
+ beam( uid);
}else if ( cmd == "show(int)" ) {
int uid;
stream >> uid;
show( uid );
}else if ( cmd == "edit(int)" ) {
int uid;
stream >> uid;
edit( uid );
}else if ( cmd == "add(int,QByteArray)" ) {
int rtti;
QByteArray array;
stream >> rtti;