diff options
Diffstat (limited to 'languages/java/javasupportpart.cpp')
-rw-r--r-- | languages/java/javasupportpart.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/languages/java/javasupportpart.cpp b/languages/java/javasupportpart.cpp index 5e936422..e4aeb27f 100644 --- a/languages/java/javasupportpart.cpp +++ b/languages/java/javasupportpart.cpp @@ -560,7 +560,7 @@ JavaSupportPart::parseProject( ) continue; if( pcs.contains(absFilePath) && t.toTime_t() == pcs[absFilePath].first ){ - stream.device()->at( pcs[absFilePath].second ); + stream.tqdevice()->at( pcs[absFilePath].second ); FileDom file = codeModel()->create<FileModel>(); file->read( stream ); codeModel()->addFile( file ); @@ -860,21 +860,21 @@ void JavaSupportPart::saveProjectSourceInfo( ) for( FileList::ConstIterator it=fileList.begin(); it!=fileList.end(); ++it ){ const FileDom dom = (*it); stream << dom->name() << m_timestamp[ dom->name() ].toTime_t(); - offsets.insert( dom->name(), stream.device()->at() ); + offsets.insert( dom->name(), stream.tqdevice()->at() ); stream << (uint)0; // dummy offset } for( FileList::ConstIterator it=fileList.begin(); it!=fileList.end(); ++it ){ const FileDom dom = (*it); - int offset = stream.device()->at(); + int offset = stream.tqdevice()->at(); dom->write( stream ); - int end = stream.device()->at(); + int end = stream.tqdevice()->at(); - stream.device()->at( offsets[dom->name()] ); + stream.tqdevice()->at( offsets[dom->name()] ); stream << offset; - stream.device()->at( end ); + stream.tqdevice()->at( end ); } } |