diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:58:10 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:58:10 -0600 |
commit | f46912a1a50c5ca06eb713e43e170f5ac47bb680 (patch) | |
tree | 5ff859ec73dca8829e4ca2633fd176cf8bbfd604 /kmouth/phrasebook/phrasebookdialog.cpp | |
parent | 23aecb275d6085b7a15a38da0180edf156c8ea9d (diff) | |
download | tdeaccessibility-f46912a1a50c5ca06eb713e43e170f5ac47bb680.tar.gz tdeaccessibility-f46912a1a50c5ca06eb713e43e170f5ac47bb680.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 23aecb275d6085b7a15a38da0180edf156c8ea9d.
Diffstat (limited to 'kmouth/phrasebook/phrasebookdialog.cpp')
-rw-r--r-- | kmouth/phrasebook/phrasebookdialog.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kmouth/phrasebook/phrasebookdialog.cpp b/kmouth/phrasebook/phrasebookdialog.cpp index 50a5b05..3cfe25b 100644 --- a/kmouth/phrasebook/phrasebookdialog.cpp +++ b/kmouth/phrasebook/phrasebookdialog.cpp @@ -17,8 +17,8 @@ // include files for QT #include <tqapplication.h> -#include <layout.h> -#include <clipboard.h> +#include <tqlayout.h> +#include <tqclipboard.h> #include <tqradiobutton.h> #include <tqevent.h> #include <tqpainter.h> @@ -132,7 +132,7 @@ void CheckBookItem::childChange (int numberDiff, int selDiff) { ((CheckBookItem*)parent)->childChange (numberDiff, selDiff); TQString text = i18n(" (%1 of %2 books selected)"); - text = text.arg(selectedBooks).arg(numberOfBooks); + text = text.tqarg(selectedBooks).tqarg(numberOfBooks); setText(0, this->text(PhraseBookPrivate::name)+text); } @@ -597,7 +597,7 @@ void PhraseBookDialog::setShortcut( const KShortcut& cut ) { { TQString s = i18n("In order to use the '%1' key as a shortcut, " "it must be combined with the " - "Win, Alt, Ctrl, and/or Shift keys.").arg(TQChar(key.sym())); + "Win, Alt, Ctrl, and/or Shift keys.").tqarg(TQChar(key.sym())); KMessageBox::sorry( this, s, i18n("Invalid Shortcut Key") ); return; } @@ -667,12 +667,12 @@ void PhraseBookDialog::slotCut () { void PhraseBookDialog::slotCopy () { PhraseBook book; treeView->fillBook (&book, true); - TQApplication::clipboard()->setData(new PhraseBookDrag(&book)); + TQApplication::tqclipboard()->setData(new PhraseBookDrag(&book)); } void PhraseBookDialog::slotPaste () { PhraseBook book; - if (PhraseBookDrag::decode(TQApplication::clipboard()->data(), &book)) { + if (PhraseBookDrag::decode(TQApplication::tqclipboard()->data(), &book)) { addBook (treeView->currentItem(), &book); } } @@ -731,7 +731,7 @@ void PhraseBookDialog::slotImportPhrasebook (const KURL &url) { if (book.open (url)) addBook(treeView->currentItem(), &book); else - KMessageBox::sorry(this,i18n("There was an error loading file\n%1").arg( url.url() )); + KMessageBox::sorry(this,i18n("There was an error loading file\n%1").tqarg( url.url() )); } } @@ -741,7 +741,7 @@ void PhraseBookDialog::slotExportPhrasebook () { KURL url; if (book.save (this, i18n("Export Phrase Book"), url) == -1) - KMessageBox::sorry(this,i18n("There was an error saving file\n%1").arg( url.url() )); + KMessageBox::sorry(this,i18n("There was an error saving file\n%1").tqarg( url.url() )); } void PhraseBookDialog::slotPrint() |