Changeset 165
- Timestamp:
- Dec 11, 2006, 10:54:29 PM (19 years ago)
- Location:
- trunk/examples
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/chart/chartform_files.cpp
r160 r165 100 100 void ChartForm::filePrint() 101 101 { 102 #ifndef QT_NO_PRINTER 102 103 if ( !m_printer ) 103 104 m_printer = new QPrinter; … … 110 111 arg( m_printer->outputFileName() ), 2000 ); 111 112 } 113 #endif 112 114 } 113 115 -
trunk/examples/drawdemo/drawdemo.cpp
r160 r165 268 268 void DrawView::printIt() 269 269 { 270 #ifndef QT_NO_PRINTER 270 271 if ( printer->setup( this ) ) { 271 272 QPainter paint; … … 274 275 drawIt( &paint ); 275 276 } 277 #endif 276 278 } 277 279
Note:
See TracChangeset
for help on using the changeset viewer.