File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 20
20
%Include qgsmapoverviewcanvas.sip
21
21
%Include qgsmessageviewer.sip
22
22
%Include qgsprojectionselector.sip
23
+ %Include qgsquickprint.sip
23
24
%Include qgsrubberband.sip
24
25
%Include qgsvertexmarker.sip
25
26
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ void QgsQuickPrint::setMapCanvas(QgsMapCanvas * thepMapCanvas)
98
98
mpMapCanvas=thepMapCanvas;
99
99
}
100
100
101
- void QgsQuickPrint::print ()
101
+ void QgsQuickPrint::printMap ()
102
102
{
103
103
if ( mOutputFileName .isEmpty () )
104
104
{
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ class GUI_EXPORT QgsQuickPrint:public QObject
43
43
enum SymbolScalingType {ScaleUp, ScaleDown};
44
44
45
45
public slots:
46
- void print ();
46
+ void printMap ();
47
47
void setTitle (QString theText);
48
48
void setName (QString theText);
49
49
void setCopyright (QString theText);
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ void QuickPrintGui::on_buttonBox_accepted()
105
105
myQuickPrint.setLogo1 (QgsApplication::iconsPath () + " /qgis-icon.png" );
106
106
myQuickPrint.setNorthArrow (myNorthArrowFile);
107
107
myQuickPrint.setOutputPdf (myOutputFileName);
108
- myQuickPrint.print ();
108
+ myQuickPrint.printMap ();
109
109
}
110
110
else
111
111
{
You can’t perform that action at this time.
0 commit comments