summaryrefslogtreecommitdiffstats
path: root/kmouth/phraselist.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:17:16 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:17:16 -0600
commitc7ce89fcae12a35ac8bfa9b908854c50ca0ceee2 (patch)
tree058c11d7f94face85bf6cedd2ec1c20ee47f1791 /kmouth/phraselist.cpp
parent92994ee2036ac7c4c68747f67dbc0ecbaf4c250c (diff)
downloadtdeaccessibility-c7ce89fcae12a35ac8bfa9b908854c50ca0ceee2.tar.gz
tdeaccessibility-c7ce89fcae12a35ac8bfa9b908854c50ca0ceee2.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'kmouth/phraselist.cpp')
-rw-r--r--kmouth/phraselist.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmouth/phraselist.cpp b/kmouth/phraselist.cpp
index ef4557e..7d447a2 100644
--- a/kmouth/phraselist.cpp
+++ b/kmouth/phraselist.cpp
@@ -48,16 +48,16 @@
PhraseList::PhraseList(TQWidget *parent, const char *name) : TQWidget(parent,name) {
isInSlot = false;
setBackgroundMode(PaletteBase);
- TQVBoxLayout *tqlayout = new TQVBoxLayout (this);
+ TQVBoxLayout *layout = new TQVBoxLayout (this);
listBox = new KListBox (this);
listBox->setFocusPolicy(TQ_NoFocus);
listBox->setSelectionMode (TQListBox::Extended);
TQWhatsThis::add (listBox, i18n("This list contains the history of spoken sentences. You can select sentences and press the speak button for re-speaking."));
- tqlayout->addWidget(listBox);
+ layout->addWidget(listBox);
TQHBoxLayout *rowLayout = new TQHBoxLayout ();
- tqlayout->addLayout(rowLayout);
+ layout->addLayout(rowLayout);
completion = new WordCompletion();
@@ -271,7 +271,7 @@ void PhraseList::cutListSelection () {
}
void PhraseList::copyListSelection () {
- TQApplication::tqclipboard()->setText (getListSelection().join ("\n"));
+ TQApplication::clipboard()->setText (getListSelection().join ("\n"));
}
void PhraseList::lineEntered (const TQString &phrase) {