Adds q2 repos to migrate
This commit is contained in:
1 parent
ad1f62c4ee
commit
17f1c61c9e
991 files changed
+178451
No files matched your search
Executable
+19
@@ -0,0 +1,19 @@
|
||||
|
||||
|
||||
#include "ngltools_helpevent.h"
|
||||
#include <QtCore/QCoreApplication>
|
||||
|
||||
QEvent::Type NGLHelpEvent::sHelpEventId = (QEvent::Type)(-1);
|
||||
|
||||
void NGLHelpEvent::sendHelpEvent(const QString &helpContext)
|
||||
{
|
||||
NGLHelpEvent he(helpContext);
|
||||
QCoreApplication::sendEvent(qApp, &he);
|
||||
}
|
||||
|
||||
QEvent::Type NGLHelpEvent::helpEventId()
|
||||
{
|
||||
if(sHelpEventId < 0)
|
||||
sHelpEventId = (QEvent::Type)(QEvent::registerEventType());
|
||||
return sHelpEventId;
|
||||
}
|
||||
Reference in new issue
Block a user