diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:45:00 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:45:00 -0600 |
commit | ca82971624269719d487c6f7980d7237f9420036 (patch) | |
tree | cac461d765c50b2709a9ef6324940e70fe056ba2 /ksig/ksig.cpp | |
parent | 0e4ea21f450acbb4ea3c5a1293341668494d7dd4 (diff) | |
download | tdeaddons-ca82971624269719d487c6f7980d7237f9420036.tar.gz tdeaddons-ca82971624269719d487c6f7980d7237f9420036.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'ksig/ksig.cpp')
-rw-r--r-- | ksig/ksig.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ksig/ksig.cpp b/ksig/ksig.cpp index 88fe29f..1cc7ca1 100644 --- a/ksig/ksig.cpp +++ b/ksig/ksig.cpp @@ -91,14 +91,14 @@ void KSig::setupLayout() sigEdit->setEnabled(false); sigEdit->setCheckSpellingEnabled(true); - statusBar()->insertItem(i18n(" Line: %1 ").tqarg(0), LineNumber, 0, true); - statusBar()->insertItem(i18n(" Col: %1 ").tqarg(0), ColumnNumber, 0, true); + statusBar()->insertItem(i18n(" Line: %1 ").arg(0), LineNumber, 0, true); + statusBar()->insertItem(i18n(" Col: %1 ").arg(0), ColumnNumber, 0, true); statusBar()->show(); updateListLock = false; connect(sigEdit, TQT_SIGNAL(textChanged()), TQT_TQOBJECT(this), TQT_SLOT(updateList())); connect(sigList, TQT_SIGNAL(selectionChanged()), TQT_TQOBJECT(this), TQT_SLOT(updateEdit())); - connect(sigEdit, TQT_SIGNAL(cursorPositionChanged(int,int)), TQT_TQOBJECT(this), TQT_SLOT(updatetqStatus(int,int))); + connect(sigEdit, TQT_SIGNAL(cursorPositionChanged(int,int)), TQT_TQOBJECT(this), TQT_SLOT(updateStatus(int,int))); } void KSig::setupSearchLine() @@ -259,10 +259,10 @@ void KSig::updateEdit() updateListLock = false; } -void KSig::updatetqStatus(int line, int column) +void KSig::updateStatus(int line, int column) { - statusBar()->changeItem(i18n(" Line: %1 ").tqarg(line + 1), LineNumber); - statusBar()->changeItem(i18n(" Col: %1 ").tqarg(column + 1), ColumnNumber); + statusBar()->changeItem(i18n(" Line: %1 ").arg(line + 1), LineNumber); + statusBar()->changeItem(i18n(" Col: %1 ").arg(column + 1), ColumnNumber); } void KSig::quit() |