summaryrefslogtreecommitdiffstats
path: root/quanta/dialogs/specialchardialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
commite985f7e545f4739493965aad69bbecb136dc9346 (patch)
tree54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /quanta/dialogs/specialchardialog.cpp
parentf7670c198945adc3b95ad69a959fe5f8ae55b493 (diff)
downloadtdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz
tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip
TQt4 port kdewebdev
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/dialogs/specialchardialog.cpp')
-rw-r--r--quanta/dialogs/specialchardialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/quanta/dialogs/specialchardialog.cpp b/quanta/dialogs/specialchardialog.cpp
index 200b5afe..2caa497e 100644
--- a/quanta/dialogs/specialchardialog.cpp
+++ b/quanta/dialogs/specialchardialog.cpp
@@ -28,8 +28,8 @@
#include "specialchardialog.h"
#include "resource.h"
-SpecialCharDialog::SpecialCharDialog( TQWidget* parent, const char* name, bool modal, WFlags fl)
- :SpecialCharDialogS( parent, name, modal, fl )
+SpecialCharDialog::SpecialCharDialog( TQWidget* tqparent, const char* name, bool modal, WFlags fl)
+ :SpecialCharDialogS( tqparent, name, modal, fl )
{
connect ( FilterLineEdit, TQT_SIGNAL(textChanged(const TQString&)),
TQT_SLOT(filterChars(const TQString&)) );
@@ -52,7 +52,7 @@ void SpecialCharDialog::filterChars(const TQString& filter)
CharsListBox->insertStringList(charList);
else {
for (TQStringList::ConstIterator it = charList.begin(); it != charList.end(); ++it)
- if ( (*it).contains(filter, false) )
+ if ( (*it).tqcontains(filter, false) )
CharsListBox->insertItem(*it);
}
if (CharsListBox->currentItem() == -1 && CharsListBox->count())
@@ -67,8 +67,8 @@ TQString SpecialCharDialog::selection()
void SpecialCharDialog::insertCode()
{
TQString selected = CharsListBox->text(CharsListBox->currentItem());
- int begin = selected.find("(&")+1;
- int length = selected.find(";)") - begin + 1;
+ int begin = selected.tqfind("(&")+1;
+ int length = selected.tqfind(";)") - begin + 1;
m_selection = selected.mid(begin, length);
done(TQDialog::Accepted);
}