From 1896c5fa43e465567595feb442013d75c476f090 Mon Sep 17 00:00:00 2001 From: llornkcor Date: Fri, 05 Apr 2002 13:17:19 +0000 Subject: Folded in changes I forgot about. Added -e argument to execute a command and leave the konsole, and also setDocument to exec command in new session if open. so a command run like $OPIEDIR/bin/qcop QPE/Application/embeddedkonsole 'setDocument(QString)' 'ssh -V' will run that command in a new session (tab). So now scripts can be run from an icon, and such. --- (limited to 'core/apps/embeddedkonsole/konsole.h') diff --git a/core/apps/embeddedkonsole/konsole.h b/core/apps/embeddedkonsole/konsole.h index b508cf8..40edaec 100644 --- a/core/apps/embeddedkonsole/konsole.h +++ b/core/apps/embeddedkonsole/konsole.h @@ -54,7 +54,9 @@ public: void show(); void setColor(); int lastSelectedMenu; + int startUp; private slots: + void setDocument(const QString &); void doneSession(TESession*,int); void changeColumns(int); void fontChanged(int); @@ -73,6 +75,7 @@ private slots: void initCommandList(); void scrollMenuSelected(int); void editCommandListMenuSelected(int); + void parseCommandLine(); private: void init(const char* _pgm, QStrList & _args); void initSession(const char* _pgm, QStrList & _args); -- cgit v0.9.0.2