[Konsole-devel] [Bug 80235] Want way to find session name from shell

Stephan Binner binner at kde.org
Mon Apr 26 19:42:33 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=80235      
binner kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From binner kde org  2004-04-26 21:42 -------
CVS commit by binner: 

Add the ability to fetch the shell PID per session via DCOP
CCMAIL: 80235-done bugs kde org


  M +1 -0      session.h   1.61.2.1
  M +1 -0      sessioniface.h   1.5.2.1


--- kdebase/konsole/konsole/session.h  #1.61:1.61.2.1
 @ -92,4 +92,5  @ public:
   void renameSession(const QString &name);
   QString sessionName() { return title; }
+  int sessionPID() { return sh->pid(); }
 
   virtual bool processDynamic(const QCString &fun, const QByteArray &data, QCString& replyType, QByteArray &replyData);

--- kdebase/konsole/konsole/sessioniface.h  #1.5:1.5.2.1
 @ -15,4 +15,5  @ class SessionIface : virtual public DCOP
     virtual void renameSession(const QString &name) =0;
     virtual QString sessionName() =0;
+    virtual int sessionPID() =0;
 };



More information about the konsole-devel mailing list