summaryrefslogtreecommitdiffstats
path: root/khexedit/parts/kpart/khepart.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 14:09:37 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 14:09:37 +0900
commitaf0b8f5d1e5e00b1f3b48658d89876c2df28e71c (patch)
tree11e4cc0bc31cd049daeb734b4d9e0ee00fac9eab /khexedit/parts/kpart/khepart.cpp
parent09fd0dead9b5dcb29dde24957ae8c07269c49aa1 (diff)
downloadtdeutils-af0b8f5d1e5e00b1f3b48658d89876c2df28e71c.tar.gz
tdeutils-af0b8f5d1e5e00b1f3b48658d89876c2df28e71c.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'khexedit/parts/kpart/khepart.cpp')
-rw-r--r--khexedit/parts/kpart/khepart.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/khexedit/parts/kpart/khepart.cpp b/khexedit/parts/kpart/khepart.cpp
index 0acab5c..41c7110 100644
--- a/khexedit/parts/kpart/khepart.cpp
+++ b/khexedit/parts/kpart/khepart.cpp
@@ -51,8 +51,8 @@ KHexEditPart::KHexEditPart( TQWidget *ParentWidget, const char *WidgetName,
if( CopyAction )
{
- connect( HexEdit, TQT_SIGNAL(copyAvailable(bool)), CopyAction,TQT_SLOT(setEnabled(bool)) );
- connect( HexEdit, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotSelectionChanged()) );
+ connect( HexEdit, TQ_SIGNAL(copyAvailable(bool)), CopyAction,TQ_SLOT(setEnabled(bool)) );
+ connect( HexEdit, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(slotSelectionChanged()) );
CopyAction->setEnabled( false );
}
@@ -83,10 +83,10 @@ void KHexEditPart::setupActions( bool BrowserViewWanted )
{
TDEActionCollection *AC = actionCollection();
// create our actions
- CopyAction = BrowserViewWanted ? 0 : KStdAction::copy( HexEdit, TQT_SLOT(copy()), AC );
+ CopyAction = BrowserViewWanted ? 0 : KStdAction::copy( HexEdit, TQ_SLOT(copy()), AC );
- KStdAction::selectAll( this, TQT_SLOT(slotSelectAll()), AC );
- KStdAction::deselect( this, TQT_SLOT(slotUnselect()), AC );
+ KStdAction::selectAll( this, TQ_SLOT(slotSelectAll()), AC );
+ KStdAction::deselect( this, TQ_SLOT(slotUnselect()), AC );
// value encoding
CodingAction = new TDESelectAction( i18n("&Value Coding"), 0, AC, "view_valuecoding" );
@@ -96,17 +96,17 @@ void KHexEditPart::setupActions( bool BrowserViewWanted )
List.append( i18n("&Octal") );
List.append( i18n("&Binary") );
CodingAction->setItems( List );
- connect( CodingAction, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotSetCoding(int)) );
+ connect( CodingAction, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotSetCoding(int)) );
// document encoding
EncodingAction = new TDESelectAction( i18n("&Char Encoding"), 0, AC, "view_charencoding" );
EncodingAction->setItems( KCharCodec::codecNames() );
- connect( EncodingAction, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotSetEncoding(int)) );
+ connect( EncodingAction, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotSetEncoding(int)) );
- ShowUnprintableAction = new TDEToggleAction( i18n("Show &Unprintable Chars (<32)"), 0, this, TQT_SLOT(slotSetShowUnprintable()), actionCollection(), "view_showunprintable" );
+ ShowUnprintableAction = new TDEToggleAction( i18n("Show &Unprintable Chars (<32)"), 0, this, TQ_SLOT(slotSetShowUnprintable()), actionCollection(), "view_showunprintable" );
- KStdAction::zoomIn( HexEdit, TQT_SLOT(zoomIn()), actionCollection() );
- KStdAction::zoomOut( HexEdit, TQT_SLOT(zoomOut()), actionCollection() );
+ KStdAction::zoomIn( HexEdit, TQ_SLOT(zoomIn()), actionCollection() );
+ KStdAction::zoomOut( HexEdit, TQ_SLOT(zoomOut()), actionCollection() );
// resize style
ResizeStyleAction = new TDESelectAction( 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, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotSetResizeStyle(int)) );
+ connect( ResizeStyleAction, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotSetResizeStyle(int)) );
- ShowOffsetColumnAction = new TDEToggleAction( i18n("&Line Offset"), Key_F11, this, TQT_SLOT(slotToggleOffsetColumn()), AC, "view_lineoffset" );
+ ShowOffsetColumnAction = new TDEToggleAction( i18n("&Line Offset"), Key_F11, this, TQ_SLOT(slotToggleOffsetColumn()), AC, "view_lineoffset" );
// show buffer columns
ToggleColumnsAction = new TDESelectAction( 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, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotToggleValueCharColumns(int)) );
+ connect( ToggleColumnsAction, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotToggleValueCharColumns(int)) );
fitActionSettings();