From 73c08b592db45af554b9f21029bc549d70f683ab Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:46:05 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- kcontrol/konq/behaviour.cpp | 6 +++--- kcontrol/konq/browser.cpp | 2 +- kcontrol/konq/desktop.cpp | 2 +- kcontrol/konq/desktopbehavior.ui | 6 +++--- kcontrol/konq/desktopbehavior_impl.cpp | 8 ++++---- kcontrol/konq/fontopts.cpp | 2 +- kcontrol/konq/previews.cpp | 2 +- kcontrol/konq/rootopts.cpp | 2 +- 8 files changed, 15 insertions(+), 15 deletions(-) (limited to 'kcontrol/konq') diff --git a/kcontrol/konq/behaviour.cpp b/kcontrol/konq/behaviour.cpp index c68ac6681..5e4ecc395 100644 --- a/kcontrol/konq/behaviour.cpp +++ b/kcontrol/konq/behaviour.cpp @@ -20,7 +20,7 @@ #include #include -#include +#include #include #include #include @@ -58,7 +58,7 @@ KBehaviourOptions::KBehaviourOptions(KConfig *config, TQString group, TQWidget * winPixmap->setFrameStyle( TQFrame::StyledPanel | TQFrame::Sunken ); winPixmap->setPixmap(TQPixmap(locate("data", "kcontrol/pics/onlyone.png"))); - winPixmap->setFixedSize( winPixmap->tqsizeHint() ); + winPixmap->setFixedSize( winPixmap->sizeHint() ); // ---- @@ -103,7 +103,7 @@ KBehaviourOptions::KBehaviourOptions(KConfig *config, TQString group, TQWidget * TQHBox *hboxpreview = new TQHBox(vbox); TQWidget* spacer = new TQWidget( hboxpreview ); spacer->setMinimumSize( 20, 0 ); - spacer->tqsetSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Minimum ); + spacer->setSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Minimum ); cbShowPreviewsInTips = new TQCheckBox( i18n( "Show &previews in file tips" ), hboxpreview ); connect(cbShowPreviewsInTips, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed())); diff --git a/kcontrol/konq/browser.cpp b/kcontrol/konq/browser.cpp index cb1b5c47e..aa2b0deca 100644 --- a/kcontrol/konq/browser.cpp +++ b/kcontrol/konq/browser.cpp @@ -16,7 +16,7 @@ Boston, MA 02110-1301, USA. */ -#include +#include #include #include diff --git a/kcontrol/konq/desktop.cpp b/kcontrol/konq/desktop.cpp index cf884c0be..f9f98a6a8 100644 --- a/kcontrol/konq/desktop.cpp +++ b/kcontrol/konq/desktop.cpp @@ -19,7 +19,7 @@ #include #include -#include +#include #include #include #include diff --git a/kcontrol/konq/desktopbehavior.ui b/kcontrol/konq/desktopbehavior.ui index 12537d56a..63a8de7c4 100644 --- a/kcontrol/konq/desktopbehavior.ui +++ b/kcontrol/konq/desktopbehavior.ui @@ -74,7 +74,7 @@ Fixed - + 20 0 @@ -268,7 +268,7 @@ Expanding - + 191 80 @@ -287,7 +287,7 @@ Expanding - + 20 16 diff --git a/kcontrol/konq/desktopbehavior_impl.cpp b/kcontrol/konq/desktopbehavior_impl.cpp index 437c74197..da1e672ca 100644 --- a/kcontrol/konq/desktopbehavior_impl.cpp +++ b/kcontrol/konq/desktopbehavior_impl.cpp @@ -22,7 +22,7 @@ #include "desktopbehavior_impl.h" -#include +#include #include #include #include @@ -124,7 +124,7 @@ DesktopBehavior::DesktopBehavior(KConfig *config, TQWidget *parent, const char * */ bool leftHandedMouse = ( KGlobalSettings::mouseSettings().handed == KGlobalSettings::KMouseSettings::LeftHanded); - m_bHasMedia = KProtocolInfo::isKnownProtocol(TQString::tqfromLatin1("media")); + m_bHasMedia = KProtocolInfo::isKnownProtocol(TQString::fromLatin1("media")); connect(desktopMenuGroup, TQT_SIGNAL(clicked(int)), this, TQT_SIGNAL(changed())); connect(iconsEnabledBox, TQT_SIGNAL(clicked()), this, TQT_SLOT(enableChanged())); @@ -241,9 +241,9 @@ void DesktopBehavior::setMediaListViewEnabled(bool enabled) it; it=static_cast(it->nextSibling())) { if (it->mimeType().startsWith("media/builtin-") == false) - it->tqsetVisible(enabled); + it->setVisible(enabled); else - it->tqsetVisible(TRUE); + it->setVisible(TRUE); } } diff --git a/kcontrol/konq/fontopts.cpp b/kcontrol/konq/fontopts.cpp index 07ee4663e..ab0bd1778 100644 --- a/kcontrol/konq/fontopts.cpp +++ b/kcontrol/konq/fontopts.cpp @@ -21,7 +21,7 @@ #include #include -#include +#include #include #include diff --git a/kcontrol/konq/previews.cpp b/kcontrol/konq/previews.cpp index cbe4d40a7..07a3a18f1 100644 --- a/kcontrol/konq/previews.cpp +++ b/kcontrol/konq/previews.cpp @@ -21,7 +21,7 @@ #include #include -#include +#include #include #include diff --git a/kcontrol/konq/rootopts.cpp b/kcontrol/konq/rootopts.cpp index 4576433a9..8766de866 100644 --- a/kcontrol/konq/rootopts.cpp +++ b/kcontrol/konq/rootopts.cpp @@ -17,7 +17,7 @@ #include #include #include -#include +#include #include #include -- cgit v1.2.1