summaryrefslogtreecommitdiffstats
path: root/k9author/k9menu.cpp
diff options
context:
space:
mode:
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 26a399c..82e1010 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->setBackgroundPixmap(pix);
+ m_canvas->tqsetBackgroundPixmap(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").arg(i));
+ eButton.setAttribute("name",TQString("button%1").tqarg(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").arg(i));
+ eButton.setAttribute("name",TQString("button%1").tqarg(i));
i++;
}