diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:55:35 -0600 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-06-04 01:10:53 +0200 |
commit | 00e58f1937047eb6c23edbdb3ae7ed5feec7a572 (patch) | |
tree | 33b3465e8515be992049db8cc3fd529660f9731a /libksirtet/lib/keys.cpp | |
parent | 9e8c9cf72cdda55e3c96c7ef072c3358061d53c9 (diff) | |
download | tdegames-00e58f1937047eb6c23edbdb3ae7ed5feec7a572.tar.gz tdegames-00e58f1937047eb6c23edbdb3ae7ed5feec7a572.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit c0f375feba0103bed2bac1b1f05e76e9ae28fa89)
Diffstat (limited to 'libksirtet/lib/keys.cpp')
-rw-r--r-- | libksirtet/lib/keys.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libksirtet/lib/keys.cpp b/libksirtet/lib/keys.cpp index 599f7372..acf4d7ac 100644 --- a/libksirtet/lib/keys.cpp +++ b/libksirtet/lib/keys.cpp @@ -46,7 +46,7 @@ void KeyData::createActionCollection(uint index, TQWidget *receiver) _cols[index] = new KActionCollection(receiver, this); for (uint k=0; k<_data.size(); k++) { TQString label = i18n(_data[k].label); - TQString name = TQString("%2 %3").tqarg(index+1).tqarg(_data[k].name); + TQString name = TQString("%2 %3").arg(index+1).arg(_data[k].name); const char *slot = (_data[k].slotRelease ? 0 : _data[k].slot); KAction *a = new KAction(label, _keycodes[_cols.size()-1][index][k], TQT_TQOBJECT(receiver), slot, _cols[index], name.utf8()); @@ -78,8 +78,8 @@ void KeyData::setEnabled(uint index, bool enabled) void KeyData::addKeys(KKeyDialog &d) { for (uint i=0; i<_cols.size(); i++) - d.insert(_cols[i], i18n("Shortcuts for player #%1/%2").tqarg(i+1) - .tqarg(_cols.size())); + d.insert(_cols[i], i18n("Shortcuts for player #%1/%2").arg(i+1) + .arg(_cols.size())); } void KeyData::save() |