]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blobdiff - src/windows/BrowserWindow.cpp
Implement printing.
[PrivacyBrowserPC.git] / src / windows / BrowserWindow.cpp
index e84f9574835bdf1ad6c04df0304e518d1ee7c9cb..33aef29f77ad309caf13e4acc3ad3d5c6b1cf30a 100644 (file)
@@ -58,6 +58,8 @@ BrowserWindow::BrowserWindow() : KXmlGuiWindow()
 
     // Add the standard actions.
     KStandardAction::openNew(this, SLOT(fileNew()), actionCollectionPointer);
+    KStandardAction::print(browserViewPointer, SLOT(print()), actionCollectionPointer);
+    KStandardAction::printPreview(browserViewPointer, SLOT(printPreview()), actionCollectionPointer);
     KStandardAction::quit(qApp, SLOT(closeAllWindows()), actionCollectionPointer);
     KStandardAction::redisplay(this, SLOT(refresh()), actionCollectionPointer);
     fullScreenActionPointer = KStandardAction::fullScreen(this, SLOT(toggleFullScreen()), this, actionCollectionPointer);