summaryrefslogtreecommitdiffstats
path: root/ksayit/src
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:28:00 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-20 19:43:54 +0200
commitb33c04530149523d99425f92e428231b79b7991d (patch)
tree79275b0a04020e042902d8bb6fd3afe926098f6d /ksayit/src
parentee22425fa7d7f0f730e37f16d65e21ab8ce7bd40 (diff)
downloadtdeaccessibility-b33c04530149523d99425f92e428231b79b7991d.tar.gz
tdeaccessibility-b33c04530149523d99425f92e428231b79b7991d.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit 6687cd2515bdebbd8f0c92261f3acf8777441ca6)
Diffstat (limited to 'ksayit/src')
-rw-r--r--ksayit/src/DocTreeView.ui2
-rw-r--r--ksayit/src/KSayItView.ui2
-rw-r--r--ksayit/src/doctreeviewimpl.cpp2
-rw-r--r--ksayit/src/fx_setup.ui14
-rw-r--r--ksayit/src/ksayit.cpp4
-rw-r--r--ksayit/src/ksayitviewimpl.h2
-rw-r--r--ksayit/src/voicesetupdlg.cpp6
7 files changed, 16 insertions, 16 deletions
diff --git a/ksayit/src/DocTreeView.ui b/ksayit/src/DocTreeView.ui
index 1222c83..be3c4d6 100644
--- a/ksayit/src/DocTreeView.ui
+++ b/ksayit/src/DocTreeView.ui
@@ -20,7 +20,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>100</width>
<height>200</height>
diff --git a/ksayit/src/KSayItView.ui b/ksayit/src/KSayItView.ui
index a95a90e..90d8332 100644
--- a/ksayit/src/KSayItView.ui
+++ b/ksayit/src/KSayItView.ui
@@ -23,7 +23,7 @@
<property name="name">
<cstring>TextEdit</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>400</width>
<height>200</height>
diff --git a/ksayit/src/doctreeviewimpl.cpp b/ksayit/src/doctreeviewimpl.cpp
index 98b76b1..8eb34ab 100644
--- a/ksayit/src/doctreeviewimpl.cpp
+++ b/ksayit/src/doctreeviewimpl.cpp
@@ -927,7 +927,7 @@ void DocTreeViewImpl::slotNewDate()
date->setText(3, TQString("%1").tqarg(newIndex).rightJustify(8,'0') );
// get current date
TQString today;
- today = KGlobal::locale()->formatDate(TQDate::tqcurrentDate(Qt::LocalTime), true);
+ today = KGlobal::locale()->formatDate(TQDate::currentDate(Qt::LocalTime), true);
date->setText( 1, today);
date->setValue( KSayItGlobal::RAWDATA, today );
date->setValue( KSayItGlobal::RTFDATA, today );
diff --git a/ksayit/src/fx_setup.ui b/ksayit/src/fx_setup.ui
index 77f2cd9..fb7285e 100644
--- a/ksayit/src/fx_setup.ui
+++ b/ksayit/src/fx_setup.ui
@@ -50,7 +50,7 @@
<property name="name">
<cstring>listBox_Available</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>150</width>
<height>170</height>
@@ -77,7 +77,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
@@ -88,7 +88,7 @@
<property name="name">
<cstring>toolButton_add</cstring>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>30</width>
<height>32767</height>
@@ -105,7 +105,7 @@
<property name="name">
<cstring>toolButton_remove</cstring>
</property>
- <property name="tqmaximumSize">
+ <property name="maximumSize">
<size>
<width>30</width>
<height>32767</height>
@@ -128,7 +128,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
@@ -157,7 +157,7 @@
<property name="name">
<cstring>listBox_Active</cstring>
</property>
- <property name="tqminimumSize">
+ <property name="minimumSize">
<size>
<width>150</width>
<height>170</height>
@@ -189,7 +189,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
diff --git a/ksayit/src/ksayit.cpp b/ksayit/src/ksayit.cpp
index cefaba6..25db48a 100644
--- a/ksayit/src/ksayit.cpp
+++ b/ksayit/src/ksayit.cpp
@@ -322,12 +322,12 @@ void KSayItApp::initView()
{
// create the main widget
view = new KSayItViewImpl(this);
- view->setMinimumSize(view->tqsizeHint());
+ view->setMinimumSize(view->sizeHint());
setCentralWidget(view);
// connections
connect( view, TQT_SIGNAL(signalEnableCopyCut(bool)),
TQT_TQOBJECT(this), TQT_SLOT(slotEnableCopyCut(bool)));
- connect( view, TQT_SIGNAL(signalShowtqStatus(const TQString &)),
+ connect( view, TQT_SIGNAL(signalShowStatus(const TQString &)),
TQT_TQOBJECT(this), TQT_SLOT(slotStatusMsg(const TQString &)));
connect( view, TQT_SIGNAL(signalSetCaption(const TQString &)),
TQT_TQOBJECT(this), TQT_SLOT(slotSetCaption(const TQString &)));
diff --git a/ksayit/src/ksayitviewimpl.h b/ksayit/src/ksayitviewimpl.h
index 6128fe2..105c0f2 100644
--- a/ksayit/src/ksayitviewimpl.h
+++ b/ksayit/src/ksayitviewimpl.h
@@ -41,7 +41,7 @@ public:
signals:
void signalSetCaption(const TQString &caption);
- void signalShowtqStatus(const TQString &status);
+ void signalShowStatus(const TQString &status);
void signalEnableCopyCut(bool enable);
/** Emitted when the text in the TextEditor view cahnges.
diff --git a/ksayit/src/voicesetupdlg.cpp b/ksayit/src/voicesetupdlg.cpp
index 298f32f..d8df70a 100644
--- a/ksayit/src/voicesetupdlg.cpp
+++ b/ksayit/src/voicesetupdlg.cpp
@@ -88,7 +88,7 @@ void VoiceSetupDlg::initFXPage()
connect( this, TQT_SIGNAL(signalReloadFX()), fxDialog, TQT_SLOT(slotReload()) );
// Disable/enable FX-Setup depending on TTS-libs capability
- int status = m_kttslib->gettqStatus() & TTS::AUDIOFILE;
+ int status = m_kttslib->getStatus() & TTS::AUDIOFILE;
if ( status ){
m_fxPage->setEnabled(true);
} else {
@@ -105,7 +105,7 @@ void VoiceSetupDlg::slotPageChanged(TQWidget *page)
if ( page != m_fxPage )
return;
- int status = m_kttslib->gettqStatus() & TTS::AUDIOFILE;
+ int status = m_kttslib->getStatus() & TTS::AUDIOFILE;
if ( status ){
m_fxPage->setEnabled(true);
} else {
@@ -120,7 +120,7 @@ void VoiceSetupDlg::slotOk()
{
kdDebug(100200) << "+++ entering VoiceSetupDlg::slotOK()" << endl;
- int status = m_kttslib->gettqStatus();
+ int status = m_kttslib->getStatus();
if ( (status & TTS::AUDIOFILE) == 0 ){
emit signalRemoveAllFX();
}