diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
commit | e69e8b1d09fb579316595b4e6a850e717358a8b1 (patch) | |
tree | a24fc20865f65772f530d16177520190594ffdd2 /kviewshell/plugins/djvu/libdjvu/GOS.cpp | |
parent | eecec9afb81fdebb0f22e9da22635874c403f854 (diff) | |
download | tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip |
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kviewshell/plugins/djvu/libdjvu/GOS.cpp')
-rw-r--r-- | kviewshell/plugins/djvu/libdjvu/GOS.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kviewshell/plugins/djvu/libdjvu/GOS.cpp b/kviewshell/plugins/djvu/libdjvu/GOS.cpp index 94449512..716c49c9 100644 --- a/kviewshell/plugins/djvu/libdjvu/GOS.cpp +++ b/kviewshell/plugins/djvu/libdjvu/GOS.cpp @@ -167,9 +167,9 @@ finddirsep(const GUTF8String &fname) #if defined(UNIX) return fname.rsearch('/',0); #elif defined(WIN32) || defined(OS2) - return fname.rcontains("\\/",0); + return fname.rtqcontains("\\/",0); #elif defined(macintosh) - return fname.rcontains(":/",0); + return fname.rtqcontains(":/",0); #else #error "Define something here for your operating system" #endif @@ -272,7 +272,7 @@ GOS::ticks() return (unsigned long)clk; #elif defined(OS2) ULONG clk = 0; - DosQuerySysInfo(QSV_MS_COUNT, QSV_MS_COUNT, (PVOID)&clk, sizeof(ULONG)); + DosQuerySysInfo(TQSV_MS_COUNT, TQSV_MS_COUNT, (PVOID)&clk, sizeof(ULONG)); return clk; #elif defined(macintosh) return (unsigned long)((double)TickCount()*16.66); |