summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLukáš Lalinský <lalinsky@gmail.com>2009-07-09 23:48:24 +0200
committerLukáš Lalinský <lalinsky@gmail.com>2009-07-09 23:48:24 +0200
commit5e8edb28accb356032615addd6ac916ce7027687 (patch)
tree0e46d65b1a84f1c501ecd4857242d0f61add0c25 /src
parentb3745e04116ecd7e126f852e0999bb3f385d8dc5 (diff)
downloaddbmodel-5e8edb28accb356032615addd6ac916ce7027687.tar.xz
Rename misleading "exportPNG"
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.cpp4
-rw-r--r--src/mainwindow.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 863af82..85a526d 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -219,7 +219,7 @@ MainWindow::setupActions()
m_actionExportPNG = new QAction(this);
m_actionExportPNG->setText(tr("E&xport..."));
- connect(m_actionExportPNG, SIGNAL(triggered(bool)), SLOT(exportPNG()));
+ connect(m_actionExportPNG, SIGNAL(triggered(bool)), SLOT(exportDocument()));
d->printAction = new QAction(this);
d->printAction->setText(tr("&Print..."));
@@ -488,7 +488,7 @@ MainWindow::saveAs()
}
void
-MainWindow::exportPNG()
+MainWindow::exportDocument()
{
QString selectedFilter;
QString fileName = QFileDialog::getSaveFileName(this, QString(), QString(), d->exporters.filters(), &selectedFilter);
diff --git a/src/mainwindow.h b/src/mainwindow.h
index ace4ea6..4f059cc 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -52,7 +52,7 @@ public slots:
bool save();
bool maybeSave();
bool saveAs();
- void exportPNG();
+ void exportDocument();
void print();
void setViewScale(const QString &scale);
void about();