Changeset ccdffe3a5f in tspsg for src/mainwindow.cpp
- Timestamp:
- Mar 31, 2013, 6:31:10 PM (12 years ago)
- Branches:
- 0.1.4.170-beta2-bb10
- Children:
- 628500a5d6
- Parents:
- 95b0ef73dc
- git-author:
- Oleksii Serdiuk <contacts@…> (03/31/13 18:31:10)
- git-committer:
- Oleksii Serdiuk <contacts@…> (03/31/13 21:45:38)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mainwindow.cpp
r95b0ef73dc rccdffe3a5f 90 90 connect(actionFileSaveAsTask, SIGNAL(triggered()), SLOT(actionFileSaveAsTaskTriggered())); 91 91 connect(actionFileSaveAsSolution, SIGNAL(triggered()), SLOT(actionFileSaveAsSolutionTriggered())); 92 #ifndef QT_NO_PRINT ER92 #ifndef QT_NO_PRINTDIALOG 93 93 connect(actionFilePrintPreview, SIGNAL(triggered()), SLOT(actionFilePrintPreviewTriggered())); 94 94 connect(actionFilePageSetup, SIGNAL(triggered()), SLOT(actionFilePageSetupTriggered())); … … 376 376 } 377 377 378 #ifndef QT_NO_PRINT ER378 #ifndef QT_NO_PRINTDIALOG 379 379 void MainWindow::actionFilePrintPreviewTriggered() 380 380 { … … 434 434 QApplication::restoreOverrideCursor(); 435 435 } 436 #endif // QT_NO_PRINT ER436 #endif // QT_NO_PRINTDIALOG 437 437 438 438 void MainWindow::actionSettingsPreferencesTriggered() … … 693 693 #ifndef HANDHELD 694 694 dlg->resize(450, 350); 695 #elif defined(Q_OS_BLACKBERRY) 696 dlg->setWindowState(Qt::WindowMaximized); 695 697 #endif 696 698 QApplication::restoreOverrideCursor(); … … 1549 1551 loadToolbarList(); 1550 1552 1551 #ifndef QT_NO_PRINT ER1553 #ifndef QT_NO_PRINTDIALOG 1552 1554 actionFilePrintPreview->setText(tr("P&rint Preview...")); 1553 1555 #ifndef QT_NO_TOOLTIP … … 1573 1575 actionFilePrint->setStatusTip(tr("Print current solution results")); 1574 1576 #endif // QT_NO_STATUSTIP 1577 #ifndef QT_NO_SHORTCUT 1575 1578 actionFilePrint->setShortcut(tr("Ctrl+P")); 1576 #endif // QT_NO_PRINTER 1579 #endif // QT_NO_SHORTCUT 1580 #endif // QT_NO_PRINTDIALOG 1577 1581 1578 1582 #ifndef QT_NO_STATUSTIP … … 1729 1733 solutionText->setWordWrapMode(QTextOption::WordWrap); 1730 1734 1731 #ifndef QT_NO_PRINT ER1735 #ifndef QT_NO_PRINTDIALOG 1732 1736 actionFilePrintPreview = new QAction(this); 1733 1737 actionFilePrintPreview->setObjectName("actionFilePrintPreview"); … … 1755 1759 1756 1760 toolBarMain->insertAction(actionSettingsPreferences, actionFilePrint); 1757 #endif // QT_NO_PRINT ER1761 #endif // QT_NO_PRINTDIALOG 1758 1762 1759 1763 groupSettingsLanguageList = new QActionGroup(this); … … 1828 1832 actionFileSaveAsSolution->setEnabled(enable); 1829 1833 solutionText->setEnabled(enable); 1830 #ifndef QT_NO_PRINT ER1834 #ifndef QT_NO_PRINTDIALOG 1831 1835 actionFilePrint->setEnabled(enable); 1832 1836 actionFilePrintPreview->setEnabled(enable); 1833 #endif // QT_NO_PRINT ER1837 #endif // QT_NO_PRINTDIALOG 1834 1838 } 1835 1839
Note: See TracChangeset
for help on using the changeset viewer.