diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:56:11 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:56:11 -0600 |
commit | 0b46312b4c5d893a6e0c29e354038bbdc5a15fdd (patch) | |
tree | 0a9819d1f6fa2690e0819c97e4bcb9a87f0d397b /src/kima.cpp | |
parent | 6981c239dedc72969f6f539afeef646a19c867c0 (diff) | |
download | kima-0b46312b4c5d893a6e0c29e354038bbdc5a15fdd.tar.gz kima-0b46312b4c5d893a6e0c29e354038bbdc5a15fdd.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 6981c239dedc72969f6f539afeef646a19c867c0.
Diffstat (limited to 'src/kima.cpp')
-rw-r--r-- | src/kima.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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 <tqfile.h> #include <tqspinbox.h> #include <tqcombobox.h> -#include <textedit.h> +#include <tqtextedit.h> #include <tqtimer.h> #include <tqcursor.h> #include <klistview.h> @@ -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 |