diff options
Diffstat (limited to 'khexedit/parts/kpart')
-rw-r--r-- | khexedit/parts/kpart/khebrowserextension.cpp | 8 | ||||
-rw-r--r-- | khexedit/parts/kpart/khebrowserextension.h | 4 | ||||
-rw-r--r-- | khexedit/parts/kpart/khepart.cpp | 32 | ||||
-rw-r--r-- | khexedit/parts/kpart/khepart.h | 2 | ||||
-rw-r--r-- | khexedit/parts/kpart/khepartfactory.cpp | 8 | ||||
-rw-r--r-- | khexedit/parts/kpart/khepartfactory.h | 6 |
6 files changed, 30 insertions, 30 deletions
diff --git a/khexedit/parts/kpart/khebrowserextension.cpp b/khexedit/parts/kpart/khebrowserextension.cpp index d4fc3f3..a08aa0d 100644 --- a/khexedit/parts/kpart/khebrowserextension.cpp +++ b/khexedit/parts/kpart/khebrowserextension.cpp @@ -29,7 +29,7 @@ KHexEditBrowserExtension::KHexEditBrowserExtension( KHexEditPart *P ) : KParts::BrowserExtension( P, "khexeditpartbrowserextension" ), HexEditPart( P ) { - connect( HexEditPart->HexEdit, SIGNAL( selectionChanged() ), this, SLOT( slotSelectionChanged() ) ); + connect( HexEditPart->HexEdit, TQT_SIGNAL( selectionChanged() ), this, TQT_SLOT( slotSelectionChanged() ) ); } void KHexEditBrowserExtension::copy() @@ -44,7 +44,7 @@ void KHexEditBrowserExtension::slotSelectionChanged() } -void KHexEditBrowserExtension::saveState( QDataStream &stream ) +void KHexEditBrowserExtension::saveState( TQDataStream &stream ) { KParts::BrowserExtension::saveState( stream ); @@ -59,7 +59,7 @@ void KHexEditBrowserExtension::saveState( QDataStream &stream ) } -void KHexEditBrowserExtension::restoreState( QDataStream &stream ) +void KHexEditBrowserExtension::restoreState( TQDataStream &stream ) { KParts::BrowserExtension::restoreState( stream ); @@ -67,7 +67,7 @@ void KHexEditBrowserExtension::restoreState( QDataStream &stream ) int VisibleBufferColumns; int ResizeStyle; int Coding; - QString EncodingName; + TQString EncodingName; int ShowUnprintable; int x, y; int Position; diff --git a/khexedit/parts/kpart/khebrowserextension.h b/khexedit/parts/kpart/khebrowserextension.h index 4638944..67a6d45 100644 --- a/khexedit/parts/kpart/khebrowserextension.h +++ b/khexedit/parts/kpart/khebrowserextension.h @@ -39,8 +39,8 @@ class KHexEditBrowserExtension : public KParts::BrowserExtension KHexEditBrowserExtension( KHexEditPart *P ); public: // KParts::BrowserExtension API - virtual void saveState( QDataStream &stream ); - virtual void restoreState( QDataStream &stream ); + virtual void saveState( TQDataStream &stream ); + virtual void restoreState( TQDataStream &stream ); public slots: /** copy text to clipboard */ diff --git a/khexedit/parts/kpart/khepart.cpp b/khexedit/parts/kpart/khepart.cpp index e9b9ed5..1fa95fb 100644 --- a/khexedit/parts/kpart/khepart.cpp +++ b/khexedit/parts/kpart/khepart.cpp @@ -32,8 +32,8 @@ using namespace KHE; static const char RCFileName[] = "khexedit2partui.rc"; -KHexEditPart::KHexEditPart( QWidget *ParentWidget, const char *WidgetName, - QObject *Parent, const char *Name, +KHexEditPart::KHexEditPart( TQWidget *ParentWidget, const char *WidgetName, + TQObject *Parent, const char *Name, bool BrowserViewWanted ) : KParts::ReadOnlyPart( Parent, Name ) { @@ -51,8 +51,8 @@ KHexEditPart::KHexEditPart( QWidget *ParentWidget, const char *WidgetName, if( CopyAction ) { - connect( HexEdit, SIGNAL(copyAvailable(bool)), CopyAction,SLOT(setEnabled(bool)) ); - connect( HexEdit, SIGNAL(selectionChanged()), this, SLOT(slotSelectionChanged()) ); + connect( HexEdit, TQT_SIGNAL(copyAvailable(bool)), CopyAction,TQT_SLOT(setEnabled(bool)) ); + connect( HexEdit, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotSelectionChanged()) ); CopyAction->setEnabled( false ); } @@ -83,30 +83,30 @@ void KHexEditPart::setupActions( bool BrowserViewWanted ) { KActionCollection *AC = actionCollection(); // create our actions - CopyAction = BrowserViewWanted ? 0 : KStdAction::copy( HexEdit, SLOT(copy()), AC ); + CopyAction = BrowserViewWanted ? 0 : KStdAction::copy( HexEdit, TQT_SLOT(copy()), AC ); - KStdAction::selectAll( this, SLOT(slotSelectAll()), AC ); - KStdAction::deselect( this, SLOT(slotUnselect()), AC ); + KStdAction::selectAll( this, TQT_SLOT(slotSelectAll()), AC ); + KStdAction::deselect( this, TQT_SLOT(slotUnselect()), AC ); // value encoding CodingAction = new KSelectAction( i18n("&Value Coding"), 0, AC, "view_valuecoding" ); - QStringList List; + TQStringList List; List.append( i18n("&Hexadecimal") ); List.append( i18n("&Decimal") ); List.append( i18n("&Octal") ); List.append( i18n("&Binary") ); CodingAction->setItems( List ); - connect( CodingAction, SIGNAL(activated(int)), this, SLOT(slotSetCoding(int)) ); + connect( CodingAction, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotSetCoding(int)) ); // document encoding EncodingAction = new KSelectAction( i18n("&Char Encoding"), 0, AC, "view_charencoding" ); EncodingAction->setItems( KCharCodec::codecNames() ); - connect( EncodingAction, SIGNAL(activated(int)), this, SLOT(slotSetEncoding(int)) ); + connect( EncodingAction, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotSetEncoding(int)) ); - ShowUnprintableAction = new KToggleAction( i18n("Show &Unprintable Chars (<32)"), 0, this, SLOT(slotSetShowUnprintable()), actionCollection(), "view_showunprintable" ); + ShowUnprintableAction = new KToggleAction( i18n("Show &Unprintable Chars (<32)"), 0, this, TQT_SLOT(slotSetShowUnprintable()), actionCollection(), "view_showunprintable" ); - KStdAction::zoomIn( HexEdit, SLOT(zoomIn()), actionCollection() ); - KStdAction::zoomOut( HexEdit, SLOT(zoomOut()), actionCollection() ); + KStdAction::zoomIn( HexEdit, TQT_SLOT(zoomIn()), actionCollection() ); + KStdAction::zoomOut( HexEdit, TQT_SLOT(zoomOut()), actionCollection() ); // resize style ResizeStyleAction = new KSelectAction( i18n("&Resize Style"), 0, AC, "resizestyle" ); @@ -115,9 +115,9 @@ void KHexEditPart::setupActions( bool BrowserViewWanted ) List.append( i18n("&Lock Groups") ); List.append( i18n("&Full Size Usage") ); ResizeStyleAction->setItems( List ); - connect( ResizeStyleAction, SIGNAL(activated(int)), this, SLOT(slotSetResizeStyle(int)) ); + connect( ResizeStyleAction, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotSetResizeStyle(int)) ); - ShowOffsetColumnAction = new KToggleAction( i18n("&Line Offset"), Key_F11, this, SLOT(slotToggleOffsetColumn()), AC, "view_lineoffset" ); + ShowOffsetColumnAction = new KToggleAction( i18n("&Line Offset"), Key_F11, this, TQT_SLOT(slotToggleOffsetColumn()), AC, "view_lineoffset" ); // show buffer columns ToggleColumnsAction = new KSelectAction( i18n("&Columns"), 0, AC, "togglecolumns" ); @@ -126,7 +126,7 @@ void KHexEditPart::setupActions( bool BrowserViewWanted ) List.append( i18n("&Chars Column") ); List.append( i18n("&Both Columns") ); ToggleColumnsAction->setItems( List ); - connect( ToggleColumnsAction, SIGNAL(activated(int)), this, SLOT(slotToggleValueCharColumns(int)) ); + connect( ToggleColumnsAction, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotToggleValueCharColumns(int)) ); fitActionSettings(); diff --git a/khexedit/parts/kpart/khepart.h b/khexedit/parts/kpart/khepart.h index 54befa0..0526462 100644 --- a/khexedit/parts/kpart/khepart.h +++ b/khexedit/parts/kpart/khepart.h @@ -49,7 +49,7 @@ class KHexEditPart : public KParts::ReadOnlyPart friend class KHexEditBrowserExtension; public: - KHexEditPart( QWidget *ParentWidget, const char *WidgetName, QObject *Parent, const char *Name, + KHexEditPart( TQWidget *ParentWidget, const char *WidgetName, TQObject *Parent, const char *Name, bool BrowserViewWanted ); virtual ~KHexEditPart(); diff --git a/khexedit/parts/kpart/khepartfactory.cpp b/khexedit/parts/kpart/khepartfactory.cpp index f85d8a9..d3bac6c 100644 --- a/khexedit/parts/kpart/khepartfactory.cpp +++ b/khexedit/parts/kpart/khepartfactory.cpp @@ -57,11 +57,11 @@ KHexEditPartFactory::~KHexEditPartFactory() } -KParts::Part* KHexEditPartFactory::createPartObject( QWidget *ParentWidget, const char *WidgetName, - QObject *Parent, const char *Name, - const char *CN, const QStringList &/*args*/ ) +KParts::Part* KHexEditPartFactory::createPartObject( TQWidget *ParentWidget, const char *WidgetName, + TQObject *Parent, const char *Name, + const char *CN, const TQStringList &/*args*/ ) { - QCString Classname( CN ); + TQCString Classname( CN ); bool BrowserViewWanted = ( Classname == "Browser/View" ); //bool ReadOnlyWanted = (BrowserViewWanted || ( Classname == "KParts::ReadOnlyPart" )); diff --git a/khexedit/parts/kpart/khepartfactory.h b/khexedit/parts/kpart/khepartfactory.h index 7cd6c7e..15a1cee 100644 --- a/khexedit/parts/kpart/khepartfactory.h +++ b/khexedit/parts/kpart/khepartfactory.h @@ -33,9 +33,9 @@ class KHexEditPartFactory : public KParts::Factory virtual ~KHexEditPartFactory(); public: - virtual KParts::Part* createPartObject( QWidget *parentWidget, const char *widgetName, - QObject *parent, const char *name, - const char *classname, const QStringList &args ); + virtual KParts::Part* createPartObject( TQWidget *parentWidget, const char *widgetName, + TQObject *parent, const char *name, + const char *classname, const TQStringList &args ); static KInstance* instance(); |