summaryrefslogtreecommitdiffstats
path: root/k9author/k9menu.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:29:54 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:29:54 -0600
commitb8a4f26c42f6d41e8251b60357f1a6990c1e8ad8 (patch)
tree9beca7fe1a592f5f49be1e0bb4d03f0dfc1829c7 /k9author/k9menu.cpp
parent23c5272c1c49acf0906f7c97a524333705f7be46 (diff)
downloadk9copy-b8a4f26c42f6d41e8251b60357f1a6990c1e8ad8.tar.gz
k9copy-b8a4f26c42f6d41e8251b60357f1a6990c1e8ad8.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'k9author/k9menu.cpp')
-rw-r--r--k9author/k9menu.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/k9author/k9menu.cpp b/k9author/k9menu.cpp
index 82e1010..26a399c 100644
--- a/k9author/k9menu.cpp
+++ b/k9author/k9menu.cpp
@@ -25,7 +25,7 @@ k9Menu::k9Menu(TQObject *parent, const char *name)
m_canvas=new TQCanvas(this);
TQPixmap pix(720,576);
pix.fill(TQt::black);
- m_canvas->tqsetBackgroundPixmap(pix);
+ m_canvas->setBackgroundPixmap(pix);
m_startScript=m_startScript2=m_endScript="";
}
@@ -202,7 +202,7 @@ void k9Menu::spumux(const TQString &_hiFileName,const TQString &_mpgFileName) {
for (k9MenuButton *button=m_buttons.first();button;button=m_buttons.next()) {
TQDomElement eButton = xml.createElement("button");
spu.appendChild(eButton);
- eButton.setAttribute("name",TQString("button%1").tqarg(i));
+ eButton.setAttribute("name",TQString("button%1").arg(i));
eButton.setAttribute("x0", TQString::number(button->getLeft()));
eButton.setAttribute("y0",TQString::number(button->getTop()));
eButton.setAttribute("x1",TQString::number(button->getLeft()+button->getWidth()));
@@ -261,7 +261,7 @@ void k9Menu::appendMenu(TQDomElement *_rootNode) {
pgc.appendChild(eButton);
TQDomText eButtonTxt=doc.createTextNode(button->getScript());
eButton.appendChild(eButtonTxt);
- eButton.setAttribute("name",TQString("button%1").tqarg(i));
+ eButton.setAttribute("name",TQString("button%1").arg(i));
i++;
}