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/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 eb30f5d..f0c49cc 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 tqlayout + // create layout 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 tqsizeHint().height(); + //return sizeHint().height(); } void Kima::mousePressEvent(TQMouseEvent* inEvent ){ @@ -389,7 +389,7 @@ void Kima::paintEvent(TQPaintEvent* inEvent){ } void Kima::updateSourceWidgets(){ - // tqrepaint the source widgets + // repaint 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 tqlayout if necessary + // add the source to the layout if necessary displaySource(source->isEnabled() && source->showOnApplet(), source); // connection to add and remove sources from mLayout -- cgit v1.2.1