diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:50:52 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:50:52 -0600 |
commit | bf280726d5d22f33d33e4f9e771220c725249407 (patch) | |
tree | 48b7496821910eb85179d543acee981cf5d16dd8 /superkaramba/src/karamba.cpp | |
parent | c78266617c282543427d2c000b3b68fe2b6b6722 (diff) | |
download | tdeutils-bf280726d5d22f33d33e4f9e771220c725249407.tar.gz tdeutils-bf280726d5d22f33d33e4f9e771220c725249407.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'superkaramba/src/karamba.cpp')
-rw-r--r-- | superkaramba/src/karamba.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/superkaramba/src/karamba.cpp b/superkaramba/src/karamba.cpp index 90c58c0..a7bdfba 100644 --- a/superkaramba/src/karamba.cpp +++ b/superkaramba/src/karamba.cpp @@ -85,7 +85,7 @@ karamba::karamba(TQString fn, TQString name, bool reloading, int instance, karambaApp->addKaramba(this, reloading); if(prettyName.isEmpty()) - prettyName = TQString("%1 - %2").tqarg(m_theme.name()).tqarg(m_instance); + prettyName = TQString("%1 - %2").arg(m_theme.name()).arg(m_instance); kdDebug() << "Starting theme: " << m_theme.name() << " pretty name: " << prettyName << endl; @@ -111,7 +111,7 @@ karamba::karamba(TQString fn, TQString name, bool reloading, int instance, // Creates KConfig Object TQString instanceString; if(m_instance > 1) - instanceString = TQString("-%1").tqarg(m_instance); + instanceString = TQString("-%1").arg(m_instance); TQString cfg = TQDir::home().absPath() + "/.superkaramba/" + m_theme.id() + instanceString + ".rc"; kdDebug() << cfg << endl; @@ -622,7 +622,7 @@ bool karamba::parseConfig() TQColor("white"))); defaultTextField->setFont(lineParser.getString("FONT", "Helvetica")); defaultTextField->setFontSize(lineParser.getInt("FONTSIZE", 12)); - defaultTextField->tqsetAlignment(lineParser.getString("ALIGN", + defaultTextField->setAlignment(lineParser.getString("ALIGN", "LEFT")); defaultTextField->setFixedPitch(lineParser.getBoolean("FIXEDPITCH", false)); @@ -647,7 +647,7 @@ bool karamba::parseConfig() tmpText->setFont(lineParser.getString("FONT", defTxt.getFont())); tmpText->setFontSize(lineParser.getInt("FONTSIZE", defTxt.getFontSize())); - tmpText->tqsetAlignment(lineParser.getString("ALIGN", + tmpText->setAlignment(lineParser.getString("ALIGN", defTxt.getAlignmentAsString())); tmpText->setFixedPitch(lineParser.getInt("FIXEDPITCH", defTxt.getFixedPitch())); @@ -1619,13 +1619,13 @@ void karamba::updateBackground(KSharedPixmap* kpm) { systray->updateBackgroundPixmap(buffer2); } - tqrepaint(); + repaint(); } void karamba::currentDesktopChanged( int i ) { //qDebug("karamba::currentDesktopChanged"); - kroot->tqrepaint( true ); + kroot->repaint( true ); if (pythonIface && pythonIface->isExtensionLoaded()) pythonIface->desktopChanged(this, i); } @@ -1633,7 +1633,7 @@ void karamba::currentDesktopChanged( int i ) void karamba::currentWallpaperChanged(int i ) { //qDebug("karamba::currentWallpaperChanged"); - kroot->tqrepaint( true ); + kroot->repaint( true ); if (pythonIface && pythonIface->isExtensionLoaded()) pythonIface->wallpaperChanged(this, i); } @@ -1660,7 +1660,7 @@ void karamba::externalStep() p.end(); bitBlt(&pm,0,0,&buffer,0,TQt::CopyROP); - tqrepaint(); + repaint(); } } |