From 91b664b21e0e7aac02018fd162f1d97e4b199dfe Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Sun, 6 Mar 2011 15:25:39 +0100 Subject: slots in JSObject.h ordered & comments --- src/JSObject.h | 18 +++++++----------- src/main.cpp | 1 + 2 files changed, 8 insertions(+), 11 deletions(-) (limited to 'src') 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]; -- cgit v1.2.3-55-g7522