formatting is changed according to last astyle settings
[qtrapids] / src / gui / main.cpp
index 2538271..ceccaa5 100644 (file)
 
 int main(int argc, char *argv[])
 {
-       
+
        QCoreApplication::setOrganizationName("Ixonos");
        QCoreApplication::setOrganizationDomain("ixonos.com");
        QCoreApplication::setApplicationName("QtRapids");
-       
-  // Q_INIT_RESOURCE(application);
+
+       // Q_INIT_RESOURCE(application);
        QApplication app(argc, argv);
        MainWindow *mainWindow = new MainWindow();
        mainWindow->show();
 
        /*
        DownloadView* dlw = new DownloadView(NULL);
-      //qtrapids * mw = new qtrapids();
+         //qtrapids * mw = new qtrapids();
        dlw->show();
-       DownloadViewItem* dlwItem = new DownloadViewItem(QStringList() << "Name" 
-                       << "Size" << "Status" 
-                       << "Progress" << "DL speed" 
+       DownloadViewItem* dlwItem = new DownloadViewItem(QStringList() << "Name"
+                       << "Size" << "Status"
+                       << "Progress" << "DL speed"
                        << "UL speed" << "Seeds/Leechers"
                        << "ratio");
-       DownloadViewItem* dlwItem2 = new DownloadViewItem(QStringList() << "Name" 
-                       << "1000" << "Downloading" 
-                       << "23%" << "11" 
+       DownloadViewItem* dlwItem2 = new DownloadViewItem(QStringList() << "Name"
+                       << "1000" << "Downloading"
+                       << "23%" << "11"
                        << "0.1" << "0/2"
                        << "1.10");
        //dlwItem->insertChild(0, new DownloadViewItem(QStringList() << "Name"));
        dlw->insertTopLevelItem(0,dlwItem);
        dlw->insertTopLevelItem(1,dlwItem2);
-       
+
        for (unsigned i = 0; i < 10; ++i)
        {
                DownloadViewItem *editItem = dynamic_cast<DownloadViewItem*>
@@ -62,7 +62,7 @@ int main(int argc, char *argv[])
                QTest::qSleep(2000);
        }
        */
-       
-       
+
+
        return app.exec();
 }