summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2011-03-06 15:25:39 +0100
committerJonathan Bauer2011-03-06 15:25:39 +0100
commit91b664b21e0e7aac02018fd162f1d97e4b199dfe (patch)
treea70a3c63fa10f6487bcec733809a913f98f72903
parentmisc (diff)
downloadfbgui-91b664b21e0e7aac02018fd162f1d97e4b199dfe.tar.gz
fbgui-91b664b21e0e7aac02018fd162f1d97e4b199dfe.tar.xz
fbgui-91b664b21e0e7aac02018fd162f1d97e4b199dfe.zip
slots in JSObject.h ordered & comments
-rw-r--r--src/JSObject.h18
-rw-r--r--src/main.cpp1
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];