Changeset 8 for trunk/src/kernel/qapplication.cpp
- Timestamp:
- Nov 16, 2005, 8:36:46 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel/qapplication.cpp
r7 r8 739 739 If \a GUIenabled is FALSE, the application does not connect to the 740 740 X-server. 741 On Windows and Macintosh, currently the window system is always741 On Windows, OS/2 and Macintosh, currently the window system is always 742 742 initialized, regardless of the value of GUIenabled. This may change in 743 743 future versions of Qt. … … 1232 1232 else 1233 1233 style = "Windows"; // default styles for Windows 1234 #elif defined(Q_WS_PM) 1235 /// @todo (dmik) temporary, until the native style is done 1236 style = "Windows"; // default style for OS/2 1234 1237 #elif defined(Q_WS_X11) && defined(Q_OS_SOLARIS) 1235 1238 style = "CDE"; // default style for X11 on Solaris … … 1541 1544 } 1542 1545 1543 #if def Q_WS_WIN1546 #if defined(Q_WS_WIN) || defined(Q_WS_PM) 1544 1547 extern const char *qAppFileName(); 1545 1548 #endif 1546 1549 1547 1550 #ifndef QT_NO_DIR 1548 #if ndef Q_WS_WIN1551 #if !defined(Q_WS_WIN) && !(defined Q_WS_PM) 1549 1552 static QString resolveSymlinks( const QString& path, int depth = 0 ) 1550 1553 { … … 1590 1593 } 1591 1594 } 1592 #endif // Q_WS_WIN1595 #endif // !Q_WS_WIN && !Q_WS_PM 1593 1596 1594 1597 /*! … … 1627 1630 QString QApplication::applicationFilePath() 1628 1631 { 1629 #if def Q_WS_WIN1632 #if defined(Q_WS_WIN) || defined(Q_WS_PM) 1630 1633 return QDir::cleanDirPath( QFile::decodeName( qAppFileName() ) ); 1631 1634 #else … … 1706 1709 QString installPathPlugins = QString::fromLocal8Bit(qInstallPathPlugins()); 1707 1710 if ( QFile::exists(installPathPlugins) ) { 1708 #if def Q_WS_WIN1711 #if defined(Q_WS_WIN) || defined(Q_WS_PM) 1709 1712 installPathPlugins.replace('\\', '/'); 1710 1713 #endif … … 1715 1718 if (qApp) 1716 1719 app_location = qApp->applicationFilePath(); 1717 #if def Q_WS_WIN1720 #if defined(Q_WS_WIN) || defined(Q_WS_PM) 1718 1721 else { 1719 1722 app_location = QString(qAppFileName());
Note:
See TracChangeset
for help on using the changeset viewer.