#include <QtGui/QListWidget>
#include <QtGui/QTextEdit>
#include <QtCore/QSocketNotifier>
+#include <QtCore/QDir>
#include "comm.h"
int NodeNumber;
int ConType;
- QKernel();
+ QKernel(int argc, char **argv);
void WriteMessage(char* msg);
void InitMessage();
public slots:
- void n_impl();
void NetMessage();
void IntMessage(int);
int net_sock;
int freeINTid;
QSocketNotifier *Net_Notify;
- char HomeDir[255];
+ QDir homeDir;
+ char myargs[5][255];
bool info_messages;
- void LoadConfig(char *);
+ void loadConfig(const QString &fname);
+ void loadConfig(const char *);
+
void RunGraphModule(char*);
void RunNetModule();
InterpEntry *findINTbySocket(int);
*/
void setLocked(bool locked);
+ QString getConfigFilePath();
+ const char * getHomeDir();
+ const char * getRemoteDir();
+
+ const char * getNetModuleSocket();
+ const char * getGraphModuleSocket();
+
private slots:
void on_actionExecute_triggered();
void on_actionKill_triggered();