diff options
Diffstat (limited to 'ktuberling/toplevel.cpp')
-rw-r--r-- | ktuberling/toplevel.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ktuberling/toplevel.cpp b/ktuberling/toplevel.cpp index fc0939f0..975672bc 100644 --- a/ktuberling/toplevel.cpp +++ b/ktuberling/toplevel.cpp @@ -15,7 +15,7 @@ #include <kstdgameaction.h> #include <kprinter.h> -#include <tqclipboard.h> +#include <clipboard.h> #include "toplevel.moc" #include "playground.h" @@ -189,7 +189,7 @@ void TopLevel::changeLanguage(uint newLanguage) // Load the layouts file bool TopLevel::loadLayout(TQDomDocument &layoutDocument) { - TQFile layoutFile(TQFile::encodeName(locate("data", "ktuberling/pics/tqlayout.xml"))); + TQFile layoutFile(TQFile::encodeName(locate("data", "ktuberling/pics/layout.xml"))); if (!layoutFile.open(IO_ReadOnly)) return false; @@ -408,9 +408,9 @@ void TopLevel::filePrint() KPrinter printer; bool ok; - ok = printer.setup(this, i18n("Print %1").tqarg(actionCollection()->action(gameboardActions[selectedGameboard].latin1())->plainText())); + ok = printer.setup(this, i18n("Print %1").arg(actionCollection()->action(gameboardActions[selectedGameboard].latin1())->plainText())); if (!ok) return; - playGround->tqrepaint(true); + playGround->repaint(true); if (!playGround->printPicture(printer)) KMessageBox::error(this, i18n("Could not print picture.")); @@ -422,7 +422,7 @@ void TopLevel::filePrint() // Copy modified area to clipboard void TopLevel::editCopy() { - TQClipboard *clipboard = TQApplication::tqclipboard(); + TQClipboard *clipboard = TQApplication::clipboard(); TQPixmap picture(playGround->getPicture()); clipboard->setPixmap(picture); |