static int argc = 1;
static char* argv[] = { (char*)"", 0 };
#if QT_VERSION > 0x050000
- TCollection_AsciiString aPlugindsDirName = OSD_Environment ("QTDIR").Value();
- if (!aPlugindsDirName.IsEmpty())
- QApplication::addLibraryPath (QString (aPlugindsDirName.ToCString()) + "/plugins");
+ OSD_Environment anEnvironment ("QTDIR");
+ TCollection_AsciiString aPlugindsDirName = anEnvironment.Value();
+ aPlugindsDirName += "/plugins";
+ QApplication::addLibraryPath (aPlugindsDirName.ToCString());
#endif
new QApplication (argc, argv);
}
QApplication::processEvents();
#endif
}
+
+// =======================================================================
+// function : Move
+// purpose :
+// =======================================================================
+void TInspector_Communicator::Move (const int theXPosition, const int theYPosition)
+{
+ myWindow->GetMainWindow()->move (theXPosition, theYPosition);
+}