summaryrefslogtreecommitdiffstats
path: root/katomic/molek.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:58:53 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:58:53 -0600
commit84ace1135cac57993b72fee7105b92def1638d32 (patch)
treeb8871eb76e3db4a062731b0ce7c99c24fac119e8 /katomic/molek.cpp
parent97d1732e257f8700488d7ca1660ae7eba8fc6065 (diff)
downloadtdegames-84ace1135cac57993b72fee7105b92def1638d32.tar.gz
tdegames-84ace1135cac57993b72fee7105b92def1638d32.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 97d1732e257f8700488d7ca1660ae7eba8fc6065.
Diffstat (limited to 'katomic/molek.cpp')
-rw-r--r--katomic/molek.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/katomic/molek.cpp b/katomic/molek.cpp
index 4a0562c2..6731962f 100644
--- a/katomic/molek.cpp
+++ b/katomic/molek.cpp
@@ -62,7 +62,7 @@ void Molek::load (const KSimpleConfig& config)
if (value.isEmpty())
break;
- current.obj = value.at(0).latin1();
+ current.obj = value.tqat(0).latin1();
value = value.mid(2);
if (value.isNull())
value = "";
@@ -82,7 +82,7 @@ void Molek::load (const KSimpleConfig& config)
line = config.readEntry(key);
for (int i = 0; i < MOLEK_SIZE; i++)
- molek[i][j] = atom2int(line.at(i).latin1());
+ molek[i][j] = atom2int(line.tqat(i).latin1());
}
mname = i18n(config.readEntry("Name", I18N_NOOP("Noname")).latin1());
@@ -103,12 +103,12 @@ void Molek::load (const KSimpleConfig& config)
height++;
width++;
- repaint ();
+ tqrepaint ();
}
void Molek::paintEvent( TQPaintEvent * )
{
- TQString st = i18n("Level: %1").arg(level);
+ TQString st = i18n("Level: %1").tqarg(level);
TQPainter paint (this);
paint.setPen (TQColor (190, 190, 190));