diff options
| -rw-r--r-- | src/JSObject.h | 18 | ||||
| -rw-r--r-- | src/main.cpp | 1 |
2 files changed, 8 insertions, 11 deletions
diff --git a/src/JSObject.h b/src/JSObject.h index d9a15a2..3229def 100644 --- a/src/JSObject.h +++ b/src/JSObject.h @@ -73,21 +73,20 @@ signals: void getHardDrives(); */ -public slots: +public slots: + /* Slots to commucate with fbbrowser. */ void attachToDOM(); - // slots which are emited by the jsObject signals + void updateProgress(int i); + void printMAC(QString& macAddress); + void printTime(QString& time); + /* Slots for calling from within Javascript. */ void quitAll(); - // Slots for handling downloads. void startDownload(QString filename); - void updateProgress(int i); - // Slots for handling MAC Adress stuff void getMacAddress(); - void printMAC(QString& macAddress); - // Slots for handling time stuff void showTime(); - void printTime(QString& time); + void showHelloWorld(); // Not yet implemented. void getSysInfo(); @@ -97,10 +96,7 @@ public slots: void getHardDrives(); // for testing reasons - void showDate(); - void showHelloWorld(); - }; #endif /* JSOBJECT_H_ */ diff --git a/src/main.cpp b/src/main.cpp index 4cf5f7a..f8c0880 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -29,6 +29,7 @@ int main(int argc, char *argv[]) gui->setParent(app); /* Parse cmdline argus. */ + //qDebug() << "Received " << argc << "arguments:"; //for (int i = 0; i < argc; i++) // qDebug() << i + 1 << ": " << argv[i]; |
