42 #ifndef QSYSTEMLIBRARY_P_H 43 #define QSYSTEMLIBRARY_P_H 45 #include <QtCore/qglobal.h> 48 #include <QtCore/qstring.h> 69 bool load(
bool onlySystemDirectory =
true)
90 return (
void*)GetProcAddress(
m_handle, symbol);
99 static Q_CORE_EXPORT HINSTANCE
load(
const wchar_t *lpFileName,
bool onlySystemDirectory =
true);
111 #endif // QSYSTEMLIBRARY_P_H static QString fromWCharArray(const wchar_t *, int size=-1)
Returns a copy of the string, where the encoding of string depends on the size of wchar...
#define QT_END_NAMESPACE
This macro expands to.
The QString class provides a Unicode character string.
bool load(bool onlySystemDirectory=true)
#define QT_BEGIN_NAMESPACE
This macro expands to.
QSystemLibrary(const QString &libraryName)
void * resolve(const char *symbol)
static QString fromLatin1(const char *, int size=-1)
Returns a QString initialized with the first size characters of the Latin-1 string str...
QSystemLibrary(const wchar_t *libraryName)
static void * resolve(const QString &libraryName, const char *symbol)
const ushort * utf16() const
Returns the QString as a '\0\'-terminated array of unsigned shorts.