diff options
Diffstat (limited to 'client/myrootpixmap.cc')
-rw-r--r-- | client/myrootpixmap.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/client/myrootpixmap.cc b/client/myrootpixmap.cc index 7100099..d986076 100644 --- a/client/myrootpixmap.cc +++ b/client/myrootpixmap.cc @@ -57,9 +57,9 @@ void KMyRootPixmap::init() // connect(kapp, TQT_SIGNAL(backgroundChanged(int)), TQT_SLOT(slotBackgroundChanged(int))); connect(m_pPixmap, TQT_SIGNAL(done(bool)), TQT_SLOT(slotDone(bool))); -// connect(m_pTimer, TQT_SIGNAL(timeout()), TQT_SLOT(tqrepaint())); +// connect(m_pTimer, TQT_SIGNAL(timeout()), TQT_SLOT(repaint())); -// d->toplevel = m_pWidget->tqtopLevelWidget(); +// d->toplevel = m_pWidget->topLevelWidget(); // d->toplevel->installEventFilter(this); } @@ -85,7 +85,7 @@ void KMyRootPixmap::start() enableExports(); return; // if (m_bInit) -// tqrepaint(true); +// repaint(true); } void KMyRootPixmap::stop() @@ -95,14 +95,14 @@ void KMyRootPixmap::stop() } -void KMyRootPixmap::tqrepaint() +void KMyRootPixmap::repaint() { - tqrepaint(false); + repaint(false); } -void KMyRootPixmap::tqrepaint(bool force) +void KMyRootPixmap::repaint(bool force) { -// printf("KMyRootPixmap::tqrepaint(%s)\n",force?"true":"false"); +// printf("KMyRootPixmap::repaint(%s)\n",force?"true":"false"); if ((!force) && (m_Desk==currentDesktop()))return; m_Desk = currentDesktop(); @@ -127,9 +127,9 @@ TQString KMyRootPixmap::pixmapName(int desk) TQString pattern = TQString("DESKTOP%1"); int screen_number = DefaultScreen(qt_xdisplay()); if (screen_number) { - pattern = TQString("SCREEN%1-DESKTOP").tqarg(screen_number) + "%1"; + pattern = TQString("SCREEN%1-DESKTOP").arg(screen_number) + "%1"; } - return pattern.tqarg( desk ); + return pattern.arg( desk ); } |