summaryrefslogtreecommitdiffstats
path: root/kttsd/kcmkttsmgr
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit1b93777b6479886165554b763531d7bea5fe6c1f (patch)
treeb23eded921677315389331ca8f877c98e5be6272 /kttsd/kcmkttsmgr
parenta53c68f02a359d234dee62dfa3bdd12bb17b13b5 (diff)
downloadtdeaccessibility-1b93777b6479886165554b763531d7bea5fe6c1f.tar.gz
tdeaccessibility-1b93777b6479886165554b763531d7bea5fe6c1f.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaccessibility@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kttsd/kcmkttsmgr')
-rw-r--r--kttsd/kcmkttsmgr/addtalker.cpp4
-rw-r--r--kttsd/kcmkttsmgr/addtalker.h4
-rw-r--r--kttsd/kcmkttsmgr/kcmkttsmgr.cpp18
-rw-r--r--kttsd/kcmkttsmgr/kcmkttsmgr.h6
-rw-r--r--kttsd/kcmkttsmgr/selectevent.cpp4
-rw-r--r--kttsd/kcmkttsmgr/selectevent.h4
6 files changed, 20 insertions, 20 deletions
diff --git a/kttsd/kcmkttsmgr/addtalker.cpp b/kttsd/kcmkttsmgr/addtalker.cpp
index f97e263..200d419 100644
--- a/kttsd/kcmkttsmgr/addtalker.cpp
+++ b/kttsd/kcmkttsmgr/addtalker.cpp
@@ -34,8 +34,8 @@
// KTTS includes.
#include "addtalker.h"
-AddTalker::AddTalker(SynthToLangMap synthToLangMap, TQWidget* tqparent, const char* name, WFlags fl)
- : AddTalkerWidget(tqparent,name,fl)
+AddTalker::AddTalker(SynthToLangMap synthToLangMap, TQWidget* parent, const char* name, WFlags fl)
+ : AddTalkerWidget(parent,name,fl)
{
// Build maps.
setSynthToLangMap(synthToLangMap);
diff --git a/kttsd/kcmkttsmgr/addtalker.h b/kttsd/kcmkttsmgr/addtalker.h
index 0c3f703..bb969d5 100644
--- a/kttsd/kcmkttsmgr/addtalker.h
+++ b/kttsd/kcmkttsmgr/addtalker.h
@@ -42,10 +42,10 @@ public:
/**
* Constructor.
* @param synthToLangMap TQMap of supported language codes indexed by synthesizer.
- * @param tqparent Inherited KDialog parameter.
+ * @param parent Inherited KDialog parameter.
* @param name Inherited KDialog parameter.
*/
- AddTalker(SynthToLangMap synthToLangMap, TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
+ AddTalker(SynthToLangMap synthToLangMap, TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
/**
* Destructor.
diff --git a/kttsd/kcmkttsmgr/kcmkttsmgr.cpp b/kttsd/kcmkttsmgr/kcmkttsmgr.cpp
index e60a720..c81feea 100644
--- a/kttsd/kcmkttsmgr/kcmkttsmgr.cpp
+++ b/kttsd/kcmkttsmgr/kcmkttsmgr.cpp
@@ -104,10 +104,10 @@ K_EXPORT_COMPONENT_FACTORY( kcm_kttsd, KCMKttsMgrFactory("kttsd") )
* Makes the list of plug ins.
* And the languages acording to the plug ins.
*/
-KCMKttsMgr::KCMKttsMgr(TQWidget *tqparent, const char *name, const TQStringList &) :
+KCMKttsMgr::KCMKttsMgr(TQWidget *parent, const char *name, const TQStringList &) :
DCOPStub("kttsd", "KSpeech"),
DCOPObject("kcmkttsmgr_kspeechsink"),
- KCModule(KCMKttsMgrFactory::instance(), tqparent, name)
+ KCModule(KCMKttsMgrFactory::instance(), parent, name)
{
// kdDebug() << "KCMKttsMgr contructor running." << endl;
@@ -2396,7 +2396,7 @@ void KCMKttsMgr::slotNotifyListView_selectionChanged()
bool defaultItem = ( item->text(nlvcEventSrc) == "default" );
m_kttsmgrw->notifyRemoveButton->setEnabled( !defaultItem );
} else {
- bool defaultItem = ( item->tqparent()->text(nlvcEventSrc) == "default" );
+ bool defaultItem = ( item->parent()->text(nlvcEventSrc) == "default" );
m_kttsmgrw->notifyPresentComboBox->setEnabled( defaultItem );
if ( defaultItem )
m_kttsmgrw->notifyPresentComboBox->setCurrentItem( NotifyPresent::present( item->text( nlvcEvent ) ) );
@@ -2558,7 +2558,7 @@ TQListViewItem* KCMKttsMgr::addNotifyItem(
}
// No duplicates.
item = lv->findItem( event, nlvcEvent );
- if ( !item || item->tqparent() != parentItem )
+ if ( !item || item->parent() != parentItem )
item = new KListViewItem(parentItem, eventName, actionDisplayName, talkerName,
eventSrc, event, actionName, talkerCode.getTalkerCode());
if ( action == NotifyAction::DoNotSpeak )
@@ -2644,7 +2644,7 @@ void KCMKttsMgr::slotNotifyRemoveButton_clicked()
{
TQListViewItem* item = m_kttsmgrw->notifyListView->selectedItem();
if (!item) return;
- TQListViewItem* parentItem = item->tqparent();
+ TQListViewItem* parentItem = item->parent();
delete item;
if (parentItem)
{
@@ -2688,16 +2688,16 @@ void KCMKttsMgr::slotNotifySaveButton_clicked()
// ----------------------------------------------------------------------------
-KttsCheckListItem::KttsCheckListItem( TQListView *tqparent, TQListViewItem *after,
+KttsCheckListItem::KttsCheckListItem( TQListView *parent, TQListViewItem *after,
const TQString &text, Type tt,
KCMKttsMgr* kcmkttsmgr ) :
- TQCheckListItem(tqparent, after, text, tt),
+ TQCheckListItem(parent, after, text, tt),
m_kcmkttsmgr(kcmkttsmgr) { }
-KttsCheckListItem::KttsCheckListItem( TQListView *tqparent,
+KttsCheckListItem::KttsCheckListItem( TQListView *parent,
const TQString &text, Type tt,
KCMKttsMgr* kcmkttsmgr ) :
- TQCheckListItem(tqparent, text, tt),
+ TQCheckListItem(parent, text, tt),
m_kcmkttsmgr(kcmkttsmgr) { }
/*virtual*/ void KttsCheckListItem::stateChange(bool)
diff --git a/kttsd/kcmkttsmgr/kcmkttsmgr.h b/kttsd/kcmkttsmgr/kcmkttsmgr.h
index 5edb02e..0754287 100644
--- a/kttsd/kcmkttsmgr/kcmkttsmgr.h
+++ b/kttsd/kcmkttsmgr/kcmkttsmgr.h
@@ -58,7 +58,7 @@ class KCMKttsMgr :
TQ_OBJECT
public:
- KCMKttsMgr(TQWidget *tqparent, const char *name, const TQStringList &);
+ KCMKttsMgr(TQWidget *parent, const char *name, const TQStringList &);
~KCMKttsMgr();
@@ -514,10 +514,10 @@ class KCMKttsMgr :
class KttsCheckListItem : public TQCheckListItem
{
public:
- KttsCheckListItem( TQListView *tqparent,
+ KttsCheckListItem( TQListView *parent,
const TQString &text, Type tt = RadioButtonController,
KCMKttsMgr* kcmkttsmgr = 0);
- KttsCheckListItem( TQListView *tqparent, TQListViewItem *after,
+ KttsCheckListItem( TQListView *parent, TQListViewItem *after,
const TQString &text, Type tt = RadioButtonController,
KCMKttsMgr* kcmkttsmgr = 0);
diff --git a/kttsd/kcmkttsmgr/selectevent.cpp b/kttsd/kcmkttsmgr/selectevent.cpp
index 921d296..4c5c1c1 100644
--- a/kttsd/kcmkttsmgr/selectevent.cpp
+++ b/kttsd/kcmkttsmgr/selectevent.cpp
@@ -36,8 +36,8 @@
#include "utils.h"
#include "selectevent.h"
-SelectEvent::SelectEvent(TQWidget* tqparent, const char* name, WFlags fl, const TQString& initEventSrc)
- : SelectEventWidget(tqparent,name,fl)
+SelectEvent::SelectEvent(TQWidget* parent, const char* name, WFlags fl, const TQString& initEventSrc)
+ : SelectEventWidget(parent,name,fl)
{
// Load list of event sources (applications).
TQStringList fullpaths =
diff --git a/kttsd/kcmkttsmgr/selectevent.h b/kttsd/kcmkttsmgr/selectevent.h
index f7ce996..720efda 100644
--- a/kttsd/kcmkttsmgr/selectevent.h
+++ b/kttsd/kcmkttsmgr/selectevent.h
@@ -34,11 +34,11 @@ class SelectEvent : public SelectEventWidget
public:
/**
* Constructor.
- * @param tqparent Inherited KDialog parameter.
+ * @param parent Inherited KDialog parameter.
* @param name Inherited KDialog parameter.
* @param initEventSrc Event source to start with.
*/
- SelectEvent(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0,
+ SelectEvent(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0,
const TQString& initEventSrc = TQString() );
/**