From 0b46312b4c5d893a6e0c29e354038bbdc5a15fdd Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:56:11 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 6981c239dedc72969f6f539afeef646a19c867c0. --- 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 8ba4376..20885b0 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->layout()->addItem(new TQSpacerItem(0, 0, TQSizePolicy::Minimum, TQSizePolicy::Expanding) ); + mSourcePrefs->tqlayout()->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->layout()->add(inParent); + mSourcePrefs->tqlayout()->add(inParent); } void Source::applyPrefs(){ -- cgit v1.2.1