diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:31:39 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 19:30:02 +0200 |
commit | a84302cc767bcabbf01b8c76f61419f4a2ab4ff0 (patch) | |
tree | ac5486dd6d994b05268976cb64e7ef1450d353bc /kviewshell/kviewpart.cpp | |
parent | cbf5be374069885933bdc8a3ede2cbf9c2ffdb5f (diff) | |
download | tdegraphics-a84302cc767bcabbf01b8c76f61419f4a2ab4ff0.tar.gz tdegraphics-a84302cc767bcabbf01b8c76f61419f4a2ab4ff0.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit 45f529de247fc4b3662f6b474abe03fe904306ec)
Diffstat (limited to 'kviewshell/kviewpart.cpp')
-rw-r--r-- | kviewshell/kviewpart.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kviewshell/kviewpart.cpp b/kviewshell/kviewpart.cpp index 186a2823..b205f37b 100644 --- a/kviewshell/kviewpart.cpp +++ b/kviewshell/kviewpart.cpp @@ -96,7 +96,7 @@ KViewPart::KViewPart(TQWidget *parentWidget, const char *widgetName, TQObject *p // If a default MimeType is specified try to load a MultiPage supporting it. TQString defaultMimeType = args.first(); offers = KTrader::self()->query( - TQString::tqfromLatin1("KViewShell/MultiPage" ), + TQString::fromLatin1("KViewShell/MultiPage" ), TQString("([X-KDE-MultiPageVersion] == %1) and " "([X-KDE-MimeTypes] == '%2')").tqarg(MULTIPAGE_VERSION).tqarg(defaultMimeType)); } @@ -105,7 +105,7 @@ KViewPart::KViewPart(TQWidget *parentWidget, const char *widgetName, TQObject *p if (offers.isEmpty()) { offers = KTrader::self()->query( - TQString::tqfromLatin1("KViewShell/MultiPage" ), + TQString::fromLatin1("KViewShell/MultiPage" ), TQString("([X-KDE-MultiPageVersion] == %1) and " "([X-KDE-EmptyMultiPage] == 1)").tqarg(MULTIPAGE_VERSION)); } @@ -471,7 +471,7 @@ TQStringList KViewPart::supportedMimeTypes() // Search for service KTrader::OfferList offers = KTrader::self()->query( - TQString::tqfromLatin1("KViewShell/MultiPage"), + TQString::fromLatin1("KViewShell/MultiPage"), TQString("([X-KDE-MultiPageVersion] == %1)").tqarg(MULTIPAGE_VERSION) ); @@ -516,7 +516,7 @@ TQStringList KViewPart::fileFormats() const // Search for service KTrader::OfferList offers = KTrader::self()->query( - TQString::tqfromLatin1("KViewShell/MultiPage"), + TQString::fromLatin1("KViewShell/MultiPage"), TQString("([X-KDE-MultiPageVersion] == %1)").tqarg(MULTIPAGE_VERSION) ); @@ -768,7 +768,7 @@ bool KViewPart::openFile() // Search for service KTrader::OfferList offers = KTrader::self()->query( - TQString::tqfromLatin1("KViewShell/MultiPage" ), + TQString::fromLatin1("KViewShell/MultiPage" ), TQString("([X-KDE-MultiPageVersion] == %1) and " "([X-KDE-MimeTypes] == '%2')").tqarg(MULTIPAGE_VERSION).tqarg(mimetype->name())); |