summaryrefslogtreecommitdiffstats
path: root/src/kima.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:30:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:30:39 -0600
commit6981c239dedc72969f6f539afeef646a19c867c0 (patch)
tree44e5e93a8ed355a26920da44467d4b18be8fcc05 /src/kima.cpp
parentdfe4a152e1587751bbb3e63e46c4d727e318caaf (diff)
downloadkima-6981c239dedc72969f6f539afeef646a19c867c0.tar.gz
kima-6981c239dedc72969f6f539afeef646a19c867c0.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/kima.cpp')
-rw-r--r--src/kima.cpp10
1 files changed, 5 insertions, 5 deletions
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 <tqfile.h>
#include <tqspinbox.h>
#include <tqcombobox.h>
-#include <tqtextedit.h>
+#include <textedit.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 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