Changeset 10115 in vbox
- Timestamp:
- Jul 2, 2008 3:36:42 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 32626
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxGlobal.cpp
r10112 r10115 85 85 #if defined (Q_WS_X11) 86 86 #include <iprt/mem.h> 87 #endif 88 89 //#warning "port me: check this" 90 #if defined(Q_OS_WIN64) 91 typedef __int64 Q_LONG; /* word up to 64 bit signed */ 92 typedef unsigned __int64 Q_ULONG; /* word up to 64 bit unsigned */ 93 #else 94 typedef long Q_LONG; /* word up to 64 bit signed */ 95 typedef unsigned long Q_ULONG; /* word up to 64 bit unsigned */ 87 96 #endif 88 97 … … 391 400 QString result = aRawFilter; 392 401 QRegExp r (QString::fromLatin1 (qt_file_dialog_filter_reg_exp)); 393 int index = r. search(result);402 int index = r.indexIn (result); 394 403 if (index >= 0) 395 404 result = r.cap (2); … … 406 415 if (!aFilter.isEmpty()) 407 416 { 408 int i = aFilter. find(";;", 0);417 int i = aFilter.indexOf (";;", 0); 409 418 QString sep (";;"); 410 419 if (i == -1) 411 420 { 412 if (aFilter. find("\n", 0) != -1)421 if (aFilter.indexOf ("\n", 0) != -1) 413 422 { 414 423 sep = "\n"; 415 i = aFilter. find(sep, 0);424 i = aFilter.indexOf (sep, 0); 416 425 } 417 426 } 418 427 419 filterLst = QStringList::split (sep, aFilter);428 filterLst = aFilter.split (sep); 420 429 } 421 430
Note:
See TracChangeset
for help on using the changeset viewer.