]> ruin.nu Git - eonsl.git/blobdiff - eonsl/main.cpp
These files is for making the project
[eonsl.git] / eonsl / main.cpp
diff --git a/eonsl/main.cpp b/eonsl/main.cpp
new file mode 100644 (file)
index 0000000..093f945
--- /dev/null
@@ -0,0 +1,39 @@
+/***************************************************************************
+                          main.cpp  -  description
+                             -------------------
+    begin     : mån okt 23 17:11:28 CEST 2000
+    copyright : (C) 2000 by Michael Andreen
+    email     : whale@linux.nu
+    changes   :
+ ***************************************************************************/
+
+/***************************************************************************
+ *                                                                         *
+ *   This program is free software; you can redistribute it and/or modify  *
+ *   it under the terms of the GNU General Public License as published by  *
+ *   the Free Software Foundation; either version 2 of the License, or     *
+ *   (at your option) any later version.                                   *
+ *                                                                         *
+ ***************************************************************************/
+
+#include <qapplication.h>
+#include <qfont.h>
+
+#include "eonsl.h"
+
+int main(int argc, char *argv[])
+{
+  Misapplication a(argc, argv);
+
+  a.setFont(QFont("helvetica", 12));
+  /* uncomment the following line, if you want a Windows 95 look*/
+  // a.setStyle(WindowsStyle);
+    
+  EonSL *eonsl=new EonSL();
+  a.setMainWidget(eonsl);
+
+  eonsl->setCaption("EonSL" VERSION);
+  eonsl->show();
+
+  return a.exec();
+}