From bc48dbcc61e0c39023cc81c09f716d2ed8158648 Mon Sep 17 00:00:00 2001
From: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Date: Sun, 18 Dec 2011 18:09:22 -0600
Subject: Rename old tq methods that no longer need a unique name

---
 kbfxlib/common/kbfxconfig.cpp      | 6 +++---
 kbfxlib/common/kbfxfontchooser.cpp | 8 ++++----
 kbfxlib/common/kbfxpixmaplabel.cpp | 4 ++--
 kbfxlib/data/kbfxplugin.h          | 2 +-
 4 files changed, 10 insertions(+), 10 deletions(-)

(limited to 'kbfxlib')

diff --git a/kbfxlib/common/kbfxconfig.cpp b/kbfxlib/common/kbfxconfig.cpp
index 942a173..da83d47 100644
--- a/kbfxlib/common/kbfxconfig.cpp
+++ b/kbfxlib/common/kbfxconfig.cpp
@@ -325,7 +325,7 @@ void KbfxConfig::readThemeInfo ( TQString &themePath, TQString &themeName )
 void KbfxConfig::read()
 {
 	/* read general configuration */
-	KConfigSkeleton *confskel = new KConfigSkeleton ( TQString::tqfromLatin1 ( "kbfxrc" ) );
+	KConfigSkeleton *confskel = new KConfigSkeleton ( TQString::fromLatin1 ( "kbfxrc" ) );
 
 	KConfig *conf = confskel->config();
 
@@ -499,7 +499,7 @@ void KbfxConfig::readThemerc ( TQString &themePath, TQString &themeName, bool us
 	KbfxOffImg = TQPixmap ( KbfxPlasmaPixmapProvider::PixmapPath ( "off", themePath, themeName ) );
 
 	/* use theme's default dude image if any */
-	KConfigSkeleton *confskel = new KConfigSkeleton ( TQString::tqfromLatin1 ( "kbfxrc" ) );
+	KConfigSkeleton *confskel = new KConfigSkeleton ( TQString::fromLatin1 ( "kbfxrc" ) );
 	KConfig *conf = confskel->config();
 	TQString __default = KGlobal::iconLoader()->iconPath ( "kbfx", ( int ) KIcon::Desktop, FALSE );
 
@@ -702,7 +702,7 @@ void KbfxConfig::write()
 		kdDebug() << "Deleting general RC file: " << KbfxRcPath << endl;
 	}
 
-	KConfigSkeleton *confskel = new KConfigSkeleton ( TQString::tqfromLatin1 ( "kbfxrc" ) );
+	KConfigSkeleton *confskel = new KConfigSkeleton ( TQString::fromLatin1 ( "kbfxrc" ) );
 
 	/* write general KBFX configuration options */
 	KConfig *conf = confskel->config();
diff --git a/kbfxlib/common/kbfxfontchooser.cpp b/kbfxlib/common/kbfxfontchooser.cpp
index 2a445d6..ca0fd74 100644
--- a/kbfxlib/common/kbfxfontchooser.cpp
+++ b/kbfxlib/common/kbfxfontchooser.cpp
@@ -26,7 +26,7 @@ KBFXFontChooser::KBFXFontChooser ( TQWidget *parent, const char *name )
 	TQHBoxLayout* tqlayout = new TQHBoxLayout ( this, 0, KDialog::spacingHint() );
 
 	m_label = new TQLabel ( this, "fontLabel" );
-	m_label->tqsetSizePolicy ( TQSizePolicy::Expanding,  TQSizePolicy::Fixed, TRUE);
+	m_label->setSizePolicy ( TQSizePolicy::Expanding,  TQSizePolicy::Fixed, TRUE);
 //	m_label->setFrameShape ( TQFrame::StyledPanel );
 //	m_label->setFrameShadow ( TQFrame::Sunken );
 
@@ -36,9 +36,9 @@ KBFXFontChooser::KBFXFontChooser ( TQWidget *parent, const char *name )
 	m_label->setMaximumHeight ( m_button -> height() );
 	m_label->setMinimumHeight ( m_button -> height() );
 	TQString fontText = i18n ( "Font..." );
-//	m_button->tqsetSizePolicy ( TQSizePolicy::Minimum,  TQSizePolicy::Minimum, TRUE);
+//	m_button->setSizePolicy ( TQSizePolicy::Minimum,  TQSizePolicy::Minimum, TRUE);
 	m_button->setText ( fontText );
-	TQIconSet iconSet = SmallIconSet ( TQString::tqfromLatin1 ( "fonts" ) );
+	TQIconSet iconSet = SmallIconSet ( TQString::fromLatin1 ( "fonts" ) );
 	TQPixmap pixmap = iconSet.pixmap ( TQIconSet::Small, TQIconSet::Normal );
 	m_button->setIconSet ( iconSet );
 	m_button->setFixedWidth ( m_button->fontMetrics().width ( fontText ) +
@@ -66,7 +66,7 @@ void KBFXFontChooser::updateFontLabel()
 	TQString s = TQString ( "%1 (%2pt) " ).arg ( m_font.family() ).arg ( m_font.pointSize() );
 	m_label->setFont ( m_font );
 	m_label->setText ( s );
-	m_label->tqsetAlignment ( TQt::AlignLeft | TQt::AlignVCenter );
+	m_label->setAlignment ( TQt::AlignLeft | TQt::AlignVCenter );
 	emit FontChanged();
 }
 
diff --git a/kbfxlib/common/kbfxpixmaplabel.cpp b/kbfxlib/common/kbfxpixmaplabel.cpp
index 25f43bc..b563f91 100644
--- a/kbfxlib/common/kbfxpixmaplabel.cpp
+++ b/kbfxlib/common/kbfxpixmaplabel.cpp
@@ -29,7 +29,7 @@ KbfxPixmapLabel::KbfxPixmapLabel ( TQWidget *parent, const char *name, WFlags fl
 	setFrameShape ( TQLabel::LineEditPanel );
 	setFrameShadow ( TQLabel::Plain );
 	setScaledContents ( FALSE );
-	tqsetAlignment ( int ( TQLabel::WordBreak | TQLabel::AlignCenter ) );
+	setAlignment ( int ( TQLabel::WordBreak | TQLabel::AlignCenter ) );
 	setMouseTracking ( TRUE );
 }
 
@@ -43,7 +43,7 @@ void KbfxPixmapLabel::normalize ()
 	setFrameShape ( TQLabel::NoFrame );
 	setFrameShadow ( TQLabel::Plain );
 	setScaledContents ( FALSE );
-	tqsetAlignment ( int ( TQLabel::WordBreak | TQLabel::AlignCenter ) );
+	setAlignment ( int ( TQLabel::WordBreak | TQLabel::AlignCenter ) );
 }
 
 /* processing drag events over label */
diff --git a/kbfxlib/data/kbfxplugin.h b/kbfxlib/data/kbfxplugin.h
index f657d8a..72031a0 100644
--- a/kbfxlib/data/kbfxplugin.h
+++ b/kbfxlib/data/kbfxplugin.h
@@ -45,7 +45,7 @@ class KbfxPlugin:public TQObject
 		KbfxPlugin ( TQString Name,TQString lib,uint id );
 		~KbfxPlugin();
 
-		void settqStatus ( bool );
+		void setStatus ( bool );
 
 		TQString name();
 		TQString libName();
-- 
cgit v1.2.1