From c7ce89fcae12a35ac8bfa9b908854c50ca0ceee2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:17:16 -0600 Subject: Rename obsolete tq methods to standard names --- kmouth/phraselist.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kmouth/phraselist.cpp') 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) { -- cgit v1.2.1