|
From: <dhu...@us...> - 2006-12-21 08:09:00
|
Revision: 75
http://svn.sourceforge.net/qcell/?rev=75&view=rev
Author: dhubleizh
Date: 2006-12-21 00:08:59 -0800 (Thu, 21 Dec 2006)
Log Message:
-----------
- KI and FQT plugin aware
- loads static plugins and utilizes them
- typos
Modified Paths:
--------------
trunk/qcell/visgui/MainWindow.cpp
trunk/qcell/visgui/main.cpp
trunk/qcell/visgui/visgui.pro
Modified: trunk/qcell/visgui/MainWindow.cpp
===================================================================
--- trunk/qcell/visgui/MainWindow.cpp 2006-12-21 07:59:49 UTC (rev 74)
+++ trunk/qcell/visgui/MainWindow.cpp 2006-12-21 08:08:59 UTC (rev 75)
@@ -18,6 +18,8 @@
ParserInterface* iParser;
QStringList parser_types, file_types;
+ QMessageBox::information(this, "Plugins",
+ QString("Number of plugins: %1").arg(QPluginLoader::staticInstances().count()));
// We check each static plugin if it is a parser plugin
// and if it is we register each parsing fucntion
// according to supported types and file extensions
@@ -57,10 +59,11 @@
world_parsers[extension] = iParser;
}
}
-}
+ }
}
}
+
}
void MainWindow::on_action_About_activated()
Modified: trunk/qcell/visgui/main.cpp
===================================================================
--- trunk/qcell/visgui/main.cpp 2006-12-21 07:59:49 UTC (rev 74)
+++ trunk/qcell/visgui/main.cpp 2006-12-21 08:08:59 UTC (rev 75)
@@ -8,8 +8,8 @@
using namespace std;
Q_IMPORT_PLUGIN(NFileParser);
-//Q_IMPORT_PLUGIN(FQTFileParser);
-//Q_IMPORT_PLUGIN(KIFileParser);
+Q_IMPORT_PLUGIN(FQTFileParser);
+Q_IMPORT_PLUGIN(KIFileParser);
int main(int argc, char* argv[])
{
Modified: trunk/qcell/visgui/visgui.pro
===================================================================
--- trunk/qcell/visgui/visgui.pro 2006-12-21 07:59:49 UTC (rev 74)
+++ trunk/qcell/visgui/visgui.pro 2006-12-21 08:08:59 UTC (rev 75)
@@ -10,17 +10,23 @@
HEADERS = MainWindow.h \
../baseheaders/Client.h \
../baseheaders/ClientInfo.h \
+ ../baseheaders/BaseDataTypes.h \
../baseheaders/interfaces.h \
../baseheaders/GenericParserPlugin.h \
- ../baseheaders/Neighbourhood.h
+ ../baseheaders/Neighbourhood.h \
+ ../baseheaders/CalculationData.h \
+ ../baseheaders/LocalFunction.h
+
SOURCES = ../basesources/GenericParserPlugin.cpp \
main.cpp \
MainWindow.cpp \
../basesources/Client.cpp \
../basesources/ClientInfo.cpp \
- ../basesources/Neighbourhood.cpp
+ ../basesources/Neighbourhood.cpp \
+ ../basesources/CalculationData.cpp \
+ ../basesources/LocalFunction.cpp
-LIBS = -L../libs -lN
+LIBS = -L../libs -lN -lFQT -lKI
TRANSLATIONS = visgui_pl.ts
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|