summaryrefslogtreecommitdiffstats
path: root/part/kxechardatadialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'part/kxechardatadialog.cpp')
-rw-r--r--part/kxechardatadialog.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/part/kxechardatadialog.cpp b/part/kxechardatadialog.cpp
index 483ab1c..434c156 100644
--- a/part/kxechardatadialog.cpp
+++ b/part/kxechardatadialog.cpp
@@ -17,15 +17,15 @@
#include "kxechardatadialog.h"
-#include <qlabel.h>
-#include <qcombobox.h>
-#include <qpushbutton.h>
-#include <qtextedit.h>
+#include <tqlabel.h>
+#include <tqcombobox.h>
+#include <tqpushbutton.h>
+#include <tqtextedit.h>
#include <kdebug.h>
#include <klocale.h>
-KXECharDataDialog::KXECharDataDialog( QWidget * pParent, const char * pszName, bool fModal, WFlags fl )
+KXECharDataDialog::KXECharDataDialog( TQWidget * pParent, const char * pszName, bool fModal, WFlags fl )
: KXECharDataDialogBase( pParent, pszName, fModal, fl )
{
connect( m_pEditData, SIGNAL(textChanged()), this, SLOT(slotDataChanged()) );
@@ -82,7 +82,7 @@ int KXECharDataDialog::exec()
void KXECharDataDialog::slotDataChanged()
{
- QString strMessage = checkContents(m_pEditData->text());
+ TQString strMessage = checkContents(m_pEditData->text());
m_pTextLabelMessage->setText(strMessage);
@@ -93,22 +93,22 @@ void KXECharDataDialog::slotDataChanged()
}
// Check, if XML chardata contents is OK
-QString KXECharDataDialog::checkContents(const QString strData)
+TQString KXECharDataDialog::checkContents(const TQString strData)
{
if(strData.length() == 0)
return "";
// Forbidden characters
- /*QString strForbiddenChars("<>");
+ /*TQString strForbiddenChars("<>");
for(unsigned int i = 0; i < strForbiddenChars.length(); i++)
{
- QChar ch = strForbiddenChars[i];
+ TQChar ch = strForbiddenChars[i];
if(strData.find(ch) >= 0)
return i18n("Contents cannot contain character: %1 !").arg(ch);
}
- L.V. Removed this check, bacause QDomCharacterData.setData() escapec special
+ L.V. Removed this check, bacause TQDomCharacterData.setData() escapec special
charactesr and data() unescapes it back to original string
*/