From 6981c239dedc72969f6f539afeef646a19c867c0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:30:39 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- src/sources/source.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/sources/source.cpp') diff --git a/src/sources/source.cpp b/src/sources/source.cpp index 20885b0..8ba4376 100644 --- a/src/sources/source.cpp +++ b/src/sources/source.cpp @@ -20,7 +20,7 @@ #include "source.h" #include -#include +#include #include #include #include @@ -107,7 +107,7 @@ TQWidget* Source::createPrefs(TQWidget* inParent){ createSubPrefs(mSourcePrefs); // add bottom vspacer - mSourcePrefs->tqlayout()->addItem(new TQSpacerItem(0, 0, TQSizePolicy::Minimum, TQSizePolicy::Expanding) ); + mSourcePrefs->layout()->addItem(new TQSpacerItem(0, 0, TQSizePolicy::Minimum, TQSizePolicy::Expanding) ); updatePrefsGUI(); // fill the prefs gui } @@ -140,7 +140,7 @@ void Source::setPrefsWidgetsEnabled(bool isEnabled, bool isShownOnApplet){ void Source::addPrefs(TQWidget* inParent){ if(inParent != NULL) - mSourcePrefs->tqlayout()->add(inParent); + mSourcePrefs->layout()->add(inParent); } void Source::applyPrefs(){ -- cgit v1.2.1