summaryrefslogtreecommitdiffstats
path: root/quanta/dialogs/specialchardialog.cpp
diff options
context:
space:
mode:
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);
}