95 #if defined(Q_OS_WINCE) 97 GetModuleFileName(0, appName, MAX_PATH);
103 qWinMain(instance, prevInstance, cmdParam.
data(), cmdShow, argc, argv);
105 #if defined(Q_OS_WINCE) 106 wchar_t uniqueAppID[MAX_PATH];
107 GetModuleFileName(0, uniqueAppID, MAX_PATH);
113 if (mutex && ERROR_ALREADY_EXISTS == GetLastError()) {
123 UINT msgNo = RegisterWindowMessage((LPCWSTR)uid.
utf16());
126 SetForegroundWindow((HWND)(((ULONG)aHwnd) | 0x01));
131 int result =
main(argc, argv.data());
132 #if defined(Q_OS_WINCE) static QString number(int, int base=10)
This is an overloaded member function, provided for convenience. It differs from the above function o...
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...
char * data()
Returns a pointer to the data stored in the byte array.
QString & replace(int i, int len, QChar after)
The QByteArray class provides an array of bytes.
void __cdecl qWinMain(HINSTANCE, HINSTANCE, LPSTR, int, int &, QVector< char *> &)
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
QByteArray & prepend(char c)
Prepends the character ch to this byte array.
The QString class provides a Unicode character string.
The QVector class is a template class that provides a dynamic array.
int __cdecl main(int, char **)
QByteArray toLocal8Bit() const Q_REQUIRED_RESULT
Returns the local 8-bit representation of the string as a QByteArray.
#define TRUE
Synonym for true.
QString toLower() const Q_REQUIRED_RESULT
Returns a lowercase copy of the string.
const ushort * utf16() const
Returns the QString as a '\0\'-terminated array of unsigned shorts.