summaryrefslogtreecommitdiffstats
path: root/khexedit/parts/kbytesedit
diff options
context:
space:
mode:
Diffstat (limited to 'khexedit/parts/kbytesedit')
-rw-r--r--khexedit/parts/kbytesedit/kbyteseditwidget.cpp18
-rw-r--r--khexedit/parts/kbytesedit/kbyteseditwidget.h12
2 files changed, 15 insertions, 15 deletions
diff --git a/khexedit/parts/kbytesedit/kbyteseditwidget.cpp b/khexedit/parts/kbytesedit/kbyteseditwidget.cpp
index 4cc91ab..cb2b549 100644
--- a/khexedit/parts/kbytesedit/kbyteseditwidget.cpp
+++ b/khexedit/parts/kbytesedit/kbyteseditwidget.cpp
@@ -16,7 +16,7 @@
// qt specific
-#include <qlayout.h>
+#include <tqlayout.h>
// kde specific
#include <klocale.h>
#include <kgenericfactory.h>
@@ -26,14 +26,14 @@
#include "kbyteseditwidget.h"
-KBytesEditWidget::KBytesEditWidget( QWidget *parent, const char *name, const QStringList & )
- : QWidget( parent, name)
+KBytesEditWidget::KBytesEditWidget( TQWidget *parent, const char *name, const TQStringList & )
+ : TQWidget( parent, name)
{
- QHBoxLayout* Layout = new QHBoxLayout( this );
+ TQHBoxLayout* Layout = new TQHBoxLayout( this );
BytesEdit = new KHE::KBytesEdit( this, "BytesEdit" );
Layout->addWidget( BytesEdit );
-// connect( _editor, SIGNAL( canUndo(bool) ), this, SIGNAL( canUndo(bool) ) );
- connect( BytesEdit, SIGNAL(copyAvailable( bool )), this, SIGNAL(copyAvailable( bool )) );
+// connect( _editor, TQT_SIGNAL( canUndo(bool) ), this, TQT_SIGNAL( canUndo(bool) ) );
+ connect( BytesEdit, TQT_SIGNAL(copyAvailable( bool )), this, TQT_SIGNAL(copyAvailable( bool )) );
}
@@ -144,7 +144,7 @@ void KBytesEditWidget::setShowUnprintable( bool SU )
BytesEdit->setShowUnprintable( SU );
}
-void KBytesEditWidget::setSubstituteChar( QChar SC )
+void KBytesEditWidget::setSubstituteChar( TQChar SC )
{
BytesEdit->setSubstituteChar( SC );
}
@@ -230,7 +230,7 @@ bool KBytesEditWidget::showUnprintable() const
return BytesEdit->showUnprintable();
}
-QChar KBytesEditWidget::substituteChar() const
+TQChar KBytesEditWidget::substituteChar() const
{
return BytesEdit->substituteChar();
}
@@ -253,7 +253,7 @@ void KBytesEditWidget::repaintRange( int i1, int i2 )
}
-void KBytesEditWidget::insert( const QByteArray &D )
+void KBytesEditWidget::insert( const TQByteArray &D )
{
BytesEdit->insert( D );
}
diff --git a/khexedit/parts/kbytesedit/kbyteseditwidget.h b/khexedit/parts/kbytesedit/kbyteseditwidget.h
index 78e4dba..72bfeb6 100644
--- a/khexedit/parts/kbytesedit/kbyteseditwidget.h
+++ b/khexedit/parts/kbytesedit/kbyteseditwidget.h
@@ -19,7 +19,7 @@
#define KBYTESEDITWIDGET_H
// qt specific
-#include <qwidget.h>
+#include <tqwidget.h>
// kde specific
#include <khexedit/byteseditinterface.h>
#include <khexedit/valuecolumninterface.h>
@@ -38,7 +38,7 @@ class KBytesEdit;
@author Friedrich W. H. Kossebau <Friedrich.W.H@Kossebau.de>
@version 0.1
**/
-class KBytesEditWidget : public QWidget, public KHE::BytesEditInterface,
+class KBytesEditWidget : public TQWidget, public KHE::BytesEditInterface,
public KHE::ValueColumnInterface, public KHE::CharColumnInterface,
public KHE::ZoomInterface, public KHE::ClipboardInterface
{
@@ -46,7 +46,7 @@ class KBytesEditWidget : public QWidget, public KHE::BytesEditInterface,
public:
/** constructor API as demanded by KGenericFactory */
- KBytesEditWidget( QWidget *parent, const char *name, const QStringList & = QStringList() );
+ KBytesEditWidget( TQWidget *parent, const char *name, const TQStringList & = TQStringList() );
public: // bytesedit interface
/** hands over to the editor a new byte array.
@@ -133,7 +133,7 @@ class KBytesEditWidget : public QWidget, public KHE::BytesEditInterface,
/** sets the substitute character for "unprintable" chars
* returns true if there was a change
*/
- virtual void setSubstituteChar( QChar SC );
+ virtual void setSubstituteChar( TQChar SC );
/** sets the encoding of the char column. Default is KHE::LocalEncoding.
* If the encoding is not available the format will not be changed. */
virtual void setEncoding( KEncoding C );
@@ -142,13 +142,13 @@ class KBytesEditWidget : public QWidget, public KHE::BytesEditInterface,
*/
virtual bool showUnprintable() const;
/** returns the actually used substitute character for "unprintable" chars, default is '.' */
- virtual QChar substituteChar() const;
+ virtual TQChar substituteChar() const;
/** */
virtual KEncoding encoding() const;
public: // edit interface
/** */
- virtual void insert( const QByteArray &D );
+ virtual void insert( const TQByteArray &D );
/** de-/selects all data */
virtual void selectAll( bool select );
/** returns true if there is a selected range in the array */