summaryrefslogtreecommitdiffstats
path: root/keduca/keducabuilder/ktagcombobox.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 04:18:52 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 04:18:52 +0000
commit648ba4a456d3aad2825193ff8f3bd52a875783b5 (patch)
tree0b50d2253a0c85238cc4dcba5c4f949de3f0eb15 /keduca/keducabuilder/ktagcombobox.cpp
parent98a12d05a48814bec3870b9a6d5865475cfa1c95 (diff)
downloadtdeedu-648ba4a456d3aad2825193ff8f3bd52a875783b5.tar.gz
tdeedu-648ba4a456d3aad2825193ff8f3bd52a875783b5.zip
Revert automated changes
Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1212481 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'keduca/keducabuilder/ktagcombobox.cpp')
-rw-r--r--keduca/keducabuilder/ktagcombobox.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/keduca/keducabuilder/ktagcombobox.cpp b/keduca/keducabuilder/ktagcombobox.cpp
index b91122f0..5a84574c 100644
--- a/keduca/keducabuilder/ktagcombobox.cpp
+++ b/keduca/keducabuilder/ktagcombobox.cpp
@@ -84,7 +84,7 @@ void KTagComboBox::internalActivate( int index )
if (_current == index) return;
_current = index;
emit activated( index );
- tqrepaint();
+ repaint();
}
void KTagComboBox::internalHighlight( int index )
@@ -158,7 +158,7 @@ void KTagComboBox::changeItem( const TQString &text, int index )
{
_popup->changeItem( text, index);
if (index == _current)
- tqrepaint();
+ repaint();
}
void KTagComboBox::paintEvent( TQPaintEvent * ev)
@@ -170,7 +170,7 @@ void KTagComboBox::paintEvent( TQPaintEvent * ev)
// Text
TQRect clip(2, 2, width() - 4, height() - 4);
if ( hasFocus())
- p.setPen( tqcolorGroup().highlightedText() );
+ p.setPen( colorGroup().highlightedText() );
p.drawText(clip, AlignCenter | SingleLine, _popup->text( _current ));
// Icon
@@ -181,9 +181,9 @@ void KTagComboBox::paintEvent( TQPaintEvent * ev)
}
}
-bool KTagComboBox::tqcontainsTag( const TQString &str ) const
+bool KTagComboBox::containsTag( const TQString &str ) const
{
- return _tags->tqcontains(str) > 0;
+ return _tags->contains(str) > 0;
}
TQString KTagComboBox::currentTag() const
@@ -210,7 +210,7 @@ void KTagComboBox::setCurrentItem(int i)
{
if (i < 0 || i >= count()) return;
_current = i;
- tqrepaint();
+ repaint();
}
void KTagComboBox::setCurrentItem(const TQString &code)