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 258d7cc6..5e6da77f 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.tqdevice()->at( pcs[absFilePath].second ); + stream.device()->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.tqdevice()->at() ); + offsets.insert( dom->name(), stream.device()->at() ); stream << (uint)0; // dummy offset } for( FileList::ConstIterator it=fileList.begin(); it!=fileList.end(); ++it ){ const FileDom dom = (*it); - int offset = stream.tqdevice()->at(); + int offset = stream.device()->at(); dom->write( stream ); - int end = stream.tqdevice()->at(); + int end = stream.device()->at(); - stream.tqdevice()->at( offsets[dom->name()] ); + stream.device()->at( offsets[dom->name()] ); stream << offset; - stream.tqdevice()->at( end ); + stream.device()->at( end ); } } |