VR-Forces 4.3.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvCoreQt
DtQApplicationProvider.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2007 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtQApplicationProvider.h,v $ $Revision: 1.16 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
#include <
vrvCoreQt/vrvCoreQt.h
>
15
#include <
vrvUtil/DtVirtualBaseClass.h
>
16
17
class
QApplication
;
18
class
QTranslator;
19
20
namespace
makVrv
21
{
22
23
class
DtDe;
24
28
class
DT_DLL_VRVCOREQT
DtQApplicationProvider
:
public
DtVirtualBaseClass
29
{
30
31
public
:
32
34
virtual
~
DtQApplicationProvider
();
35
37
static
DtQApplicationProvider
& instance(
DtDe
& de);
38
40
static
void
registerInstance(
DtDe
& de,
DtQApplicationProvider
* instance);
41
46
QApplication
* qAppInstance();
47
49
virtual
void
setQAppInstance(
QApplication
* app);
50
51
protected
:
52
54
DtQApplicationProvider
(
DtDe
& de);
55
59
virtual
void
installEventListener();
60
64
virtual
void
installTranslators();
65
68
virtual
void
installFont();
69
71
static
bool
customControlFilter(
void
* message,
long
* result);
72
73
DtDe
&
myDe
;
74
QApplication
*
myQApp
;
75
int
argc
;
76
char
**
argv
;
77
bool
myDestroyQApp
;
78
79
std::vector<QTranslator*>
myTranslators
;
80
81
};
82
}
Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)