[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konsole-devel
Subject:    [Konsole-devel] [PATCH] Adding sendSession to DCOP
From:       Thomas Vollmer <tvollmer-ml () gmx ! de>
Date:       2002-11-06 12:01:22
[Download RAW message or body]

Hi all,

i changed the DCOP interface of konsole to allow calls to the 
sendSession function.

For me it's very useful, because I can connect to several servers with a 
shell script and do the nessecary stuff (like starting a bash ;-) from 
within the script  also.

A very simple patch is attached.

Thomas
-- 
["konsole_sendSession.patch" (text/x-diff)]

Index: konsole/konsole/sessioniface.h
===================================================================
RCS file: /home/kde/kdebase/konsole/konsole/sessioniface.h,v
retrieving revision 1.3
diff -u -r1.3 sessioniface.h
--- konsole/konsole/sessioniface.h	16 Jun 2002 20:54:33 -0000	1.3
+++ konsole/konsole/sessioniface.h	6 Nov 2002 11:53:58 -0000
@@ -12,6 +12,8 @@
     virtual bool sendSignal(int signal) =0;
 
     virtual void renameSession(const QString &name) =0;
+
+    virtual void sendSession(const QString &command) =0;
 };
 
 #endif // SESSIONIFACE_H

_______________________________________________
konsole-devel mailing list
konsole-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/konsole-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic