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/kima.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/kima.cpp') diff --git a/src/kima.cpp b/src/kima.cpp index f0c49cc..eb30f5d 100644 --- a/src/kima.cpp +++ b/src/kima.cpp @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include #include #include @@ -99,7 +99,7 @@ Kima::Kima(const TQString& inConfigFile, Type inType, int inActions, TQWidget* i // automatically delete pointers mSources.setAutoDelete(TRUE); - // create layout + // create tqlayout mLayout = new FlowLayout(this, orientation() ); mLayout->setSpacing(8); @@ -319,7 +319,7 @@ int Kima::heightForWidth(int inWidth) const{ //kdDebug() << "heightForWidth: " << width << endl; mLayout->setOrientation(Qt::Vertical); return mLayout->heightForWidth(inWidth); - //return sizeHint().height(); + //return tqsizeHint().height(); } void Kima::mousePressEvent(TQMouseEvent* inEvent ){ @@ -389,7 +389,7 @@ void Kima::paintEvent(TQPaintEvent* inEvent){ } void Kima::updateSourceWidgets(){ - // repaint the source widgets + // tqrepaint the source widgets for(Source* source = mSources.first(); source; source = mSources.next()) if(source->showOnApplet()) source->getWidget()->update(); @@ -406,7 +406,7 @@ void Kima::registerSource(Source* source) { // this call also emits enabledChanged source->loadPrefs(mKConfig); - // add the source to the layout if necessary + // add the source to the tqlayout if necessary displaySource(source->isEnabled() && source->showOnApplet(), source); // connection to add and remove sources from mLayout -- cgit v1.2.3