summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:12:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:12:30 -0600
commit11191ef0b9908604d1d7aaca382b011ef22c454c (patch)
treed38f0ccd8bfcc9756f5cfc42fb2ad1dad351e6aa /tools
parentc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (diff)
downloadkoffice-11191ef0b9908604d1d7aaca382b011ef22c454c.tar.gz
koffice-11191ef0b9908604d1d7aaca382b011ef22c454c.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'tools')
-rw-r--r--tools/converter/koconverter.cpp4
-rw-r--r--tools/spell/main.cc4
-rw-r--r--tools/thesaurus/main.cc4
3 files changed, 6 insertions, 6 deletions
diff --git a/tools/converter/koconverter.cpp b/tools/converter/koconverter.cpp
index 2639301e..29b12948 100644
--- a/tools/converter/koconverter.cpp
+++ b/tools/converter/koconverter.cpp
@@ -56,7 +56,7 @@ bool convert( const KURL & uIn, const TQString & /*inputFormat*/, const KURL & u
manager->setBatchMode( batch );
TQCString mime( outputFormat.latin1() );
- KoFilter::ConversiontqStatus status = manager->exp0rt( uOut.path(), mime );
+ KoFilter::ConversionStatus status = manager->exp0rt( uOut.path(), mime );
progressObj.slotProgress(-1);
delete manager;
@@ -123,7 +123,7 @@ int main( int argc, char **argv )
KMimeType::Ptr outputMimetype;
if ( args->isSet("mimetype") )
{
- TQString mime = TQString::tqfromLatin1( args->getOption("mimetype") );
+ TQString mime = TQString::fromLatin1( args->getOption("mimetype") );
outputMimetype = KMimeType::mimeType( mime );
if ( outputMimetype->name() == KMimeType::defaultMimeType() )
{
diff --git a/tools/spell/main.cc b/tools/spell/main.cc
index db6e3fa1..4489aa4f 100644
--- a/tools/spell/main.cc
+++ b/tools/spell/main.cc
@@ -81,7 +81,7 @@ bool SpellChecker::run( const TQString& command, void* data, const TQString& dat
KConfig * config = instance()->config();
TQCString gn( "KSpell " );
gn += instance()->instanceName(); // for compat reasons, and to avoid finding the group in kdeglobals (hmm...)
- TQString groupName = TQString::tqfromLatin1( gn );
+ TQString groupName = TQString::fromLatin1( gn );
//kdDebug() << "Group: " << groupName << endl;
if ( config->hasGroup( groupName ) )
{
@@ -114,7 +114,7 @@ bool SpellChecker::run( const TQString& command, void* data, const TQString& dat
#endif
#if 0 //fixme
// Call the spell checker
- KSpell::spelltqStatus status=(KSpell::spelltqStatus)KSpell::modalCheck( buffer, &ksconfig );
+ KSpell::spellStatus status=(KSpell::spellStatus)KSpell::modalCheck( buffer, &ksconfig );
if (status == KSpell::Error)
{
diff --git a/tools/thesaurus/main.cc b/tools/thesaurus/main.cc
index 573b907c..33d87564 100644
--- a/tools/thesaurus/main.cc
+++ b/tools/thesaurus/main.cc
@@ -97,11 +97,11 @@ Thesaurus::Thesaurus(TQObject* parent, const char* name, const TQStringList &)
row1->addWidget(m_edit, 1);
row1->addWidget(m_search, 0);
m_back = new TQToolButton(m_page);
- m_back->setIconSet(BarIconSet(TQString::tqfromLatin1("back")));
+ m_back->setIconSet(BarIconSet(TQString::fromLatin1("back")));
TQToolTip::add(m_back, i18n("Back"));
row1->addWidget(m_back, 0);
m_forward = new TQToolButton(m_page);
- m_forward->setIconSet(BarIconSet(TQString::tqfromLatin1("forward")));
+ m_forward->setIconSet(BarIconSet(TQString::fromLatin1("forward")));
TQToolTip::add(m_forward, i18n("Forward"));
row1->addWidget(m_forward, 0);
m_lang = new KPushButton(i18n("Change Language..."), m_page);