diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:34:16 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:34:16 -0600 |
commit | 7b745a9472f418920ad89f0cd28d3e94de40bee2 (patch) | |
tree | d7d32c2d2bd635d0bff4a586daa44708ae7dbc43 /client/myrootpixmap.cc | |
parent | db9e36b9865bce73259465e4e71415facc0c2560 (diff) | |
download | twin-style-crystal-7b745a9472f418920ad89f0cd28d3e94de40bee2.tar.gz twin-style-crystal-7b745a9472f418920ad89f0cd28d3e94de40bee2.zip |
Rename a number of old tq methods that are no longer tq specific
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 ); } |