From e6b6046f50ea600fc78e00071e2a79e3c8c08ccd Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 2 Feb 2013 21:00:02 -0600 Subject: Rename kdisplay for enhanced compatibility with KDE4 --- kcalc/kcalc.cpp | 2 +- kedit/kedit.cpp | 2 +- khexedit/hexeditorwidget.cc | 4 ++-- khexedit/hextoolwidget.cc | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/kcalc/kcalc.cpp b/kcalc/kcalc.cpp index 63d8e81..7dacb16 100644 --- a/kcalc/kcalc.cpp +++ b/kcalc/kcalc.cpp @@ -89,7 +89,7 @@ KCalculator::KCalculator(TQWidget *parent, const char *name) TDEAcceleratorManager::setNoAccel( central ); // Detect color change - connect(kapp,TQT_SIGNAL(kdisplayPaletteChanged()), TQT_SLOT(set_colors())); + connect(kapp,TQT_SIGNAL(tdedisplayPaletteChanged()), TQT_SLOT(set_colors())); calc_display = new DispLogic(central, "display", actionCollection()); diff --git a/kedit/kedit.cpp b/kedit/kedit.cpp index b666d1c..4e81d04 100644 --- a/kedit/kedit.cpp +++ b/kedit/kedit.cpp @@ -74,7 +74,7 @@ TopLevel::TopLevel (TQWidget *, const char *name) statusbar_timer = new TQTimer(this); connect(statusbar_timer, TQT_SIGNAL(timeout()),this,TQT_SLOT(timer_slot())); - connect(kapp,TQT_SIGNAL(kdisplayPaletteChanged()),this,TQT_SLOT(set_colors())); + connect(kapp,TQT_SIGNAL(tdedisplayPaletteChanged()),this,TQT_SLOT(set_colors())); setupStatusBar(); setupActions(); diff --git a/khexedit/hexeditorwidget.cc b/khexedit/hexeditorwidget.cc index f0ac048..dc75008 100644 --- a/khexedit/hexeditorwidget.cc +++ b/khexedit/hexeditorwidget.cc @@ -64,8 +64,8 @@ CHexEditorWidget::CHexEditorWidget( TQWidget *parent, const char *name ) connect( mHexView, TQT_SIGNAL(pleaseOpenFile( const TQString&, bool, uint )), TQT_SLOT( open(const TQString&, bool, uint)) ); connect( mHexView, TQT_SIGNAL(pleaseStepFile(bool)), TQT_SLOT( stepFile(bool)) ); - connect( kapp, TQT_SIGNAL( kdisplayFontChanged() ), TQT_SLOT( fontChanged() ) ); - connect( kapp, TQT_SIGNAL( kdisplayPaletteChanged() ),TQT_SLOT( paletteChanged()) ); + connect( kapp, TQT_SIGNAL( tdedisplayFontChanged() ), TQT_SLOT( fontChanged() ) ); + connect( kapp, TQT_SIGNAL( tdedisplayPaletteChanged() ),TQT_SLOT( paletteChanged()) ); connect( mHexView, TQT_SIGNAL( layoutChanged( const SDisplayLayout & ) ), TQT_SLOT( layoutChanged( const SDisplayLayout & ) ) ); connect( mHexView, TQT_SIGNAL( inputModeChanged( const SDisplayInputMode & ) ), diff --git a/khexedit/hextoolwidget.cc b/khexedit/hextoolwidget.cc index 4fa957b..d3a17f0 100644 --- a/khexedit/hextoolwidget.cc +++ b/khexedit/hextoolwidget.cc @@ -141,7 +141,7 @@ CHexToolWidget::CHexToolWidget( TQWidget *parent, const char *name ) mUtilBox->activate(); - connect( kapp, TQT_SIGNAL( kdisplayFontChanged() ), + connect( kapp, TQT_SIGNAL( tdedisplayFontChanged() ), TQT_SLOT( fontChanged() ) ); mCursorState.valid = false; -- cgit v1.2.3