summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-07 21:20:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-07 21:20:21 -0600
commit143fbfa76907357bb86e0daa9fc47065ca8cf65d (patch)
treec1b9c83f36c87ad1e2e8b739901b1637786774d1
parente80643754b9c67298520be1ac90676e938d58d64 (diff)
downloadtdevelop-143fbfa76907357bb86e0daa9fc47065ca8cf65d.tar.gz
tdevelop-143fbfa76907357bb86e0daa9fc47065ca8cf65d.zip
Rename additional members for tqt3
-rw-r--r--kdevdesigner/uilib/qwidgetfactory.cpp4
-rw-r--r--lib/util/blockingkprocess.cpp8
-rw-r--r--lib/util/kdevshellwidget.cpp4
-rw-r--r--parts/documentation/searchview.cpp8
-rw-r--r--parts/regexptest/regexptestdlg.cpp2
-rw-r--r--parts/replace/replacedlgimpl.cpp2
6 files changed, 14 insertions, 14 deletions
diff --git a/kdevdesigner/uilib/qwidgetfactory.cpp b/kdevdesigner/uilib/qwidgetfactory.cpp
index e2511664..56649616 100644
--- a/kdevdesigner/uilib/qwidgetfactory.cpp
+++ b/kdevdesigner/uilib/qwidgetfactory.cpp
@@ -850,7 +850,7 @@ void TQWidgetFactory::inputItem( const UibStrTable& strings, TQDataStream& in,
if ( parent != 0 ) {
if ( parent->inherits(TQCOMBOBOX_OBJECT_NAME_STRING) ||
parent->inherits(TQLISTBOX_OBJECT_NAME_STRING) ) {
- TQListBox *listBox = (TQListBox *) parent->qt_cast( TQLISTBOX_OBJECT_NAME_STRING );
+ TQListBox *listBox = (TQListBox *) parent->tqt_cast( TQLISTBOX_OBJECT_NAME_STRING );
if ( listBox == 0 )
listBox = ((TQComboBox *) parent)->listBox();
@@ -1219,7 +1219,7 @@ TQWidget *TQWidgetFactory::createFromUibFile( TQDataStream& in,
unpackUInt16( in, labelNo );
unpackUInt16( in, buddyNo );
TQLabel *label =
- (TQLabel *) objects[labelNo]->qt_cast( TQLABEL_OBJECT_NAME_STRING );
+ (TQLabel *) objects[labelNo]->tqt_cast( TQLABEL_OBJECT_NAME_STRING );
if ( label != 0 )
label->setBuddy( (TQWidget *) objects[buddyNo] );
} while ( !END_OF_BLOCK() );
diff --git a/lib/util/blockingkprocess.cpp b/lib/util/blockingkprocess.cpp
index c0d1b106..aef4fb1f 100644
--- a/lib/util/blockingkprocess.cpp
+++ b/lib/util/blockingkprocess.cpp
@@ -89,16 +89,16 @@ void BlockingKProcess::slotTimeOut()
}
-void qt_enter_modal( TQWidget *widget );
-void qt_leave_modal( TQWidget *widget );
+void tqt_enter_modal( TQWidget *widget );
+void tqt_leave_modal( TQWidget *widget );
void BlockingKProcess::enter_loop()
{
TQWidget dummy(0,0,WType_Dialog | WShowModal);
dummy.setFocusPolicy( TQ_NoFocus );
- qt_enter_modal(&dummy);
+ tqt_enter_modal(&dummy);
tqApp->enter_loop();
- qt_leave_modal(&dummy);
+ tqt_leave_modal(&dummy);
}
diff --git a/lib/util/kdevshellwidget.cpp b/lib/util/kdevshellwidget.cpp
index 8d217274..5eb7c871 100644
--- a/lib/util/kdevshellwidget.cpp
+++ b/lib/util/kdevshellwidget.cpp
@@ -57,7 +57,7 @@ void KDevShellWidget::activate( )
m_konsolePart->widget()->show();
- TerminalInterface* ti = static_cast<TerminalInterface*>( m_konsolePart->qt_cast( "TerminalInterface" ) );
+ TerminalInterface* ti = static_cast<TerminalInterface*>( m_konsolePart->tqt_cast( "TerminalInterface" ) );
if( !ti ) return;
if ( !m_shellName.isEmpty() )
@@ -92,7 +92,7 @@ void KDevShellWidget::processExited( KProcess * proc )
void KDevShellWidget::sendInput( const TQString & text )
{
if ( !m_konsolePart ) return;
- TerminalInterface* ti = static_cast<TerminalInterface*>( m_konsolePart->qt_cast( "TerminalInterface" ) );
+ TerminalInterface* ti = static_cast<TerminalInterface*>( m_konsolePart->tqt_cast( "TerminalInterface" ) );
if( !ti ) return;
ti->sendInput( text );
diff --git a/parts/documentation/searchview.cpp b/parts/documentation/searchview.cpp
index 5da2efa7..e9e34192 100644
--- a/parts/documentation/searchview.cpp
+++ b/parts/documentation/searchview.cpp
@@ -136,8 +136,8 @@ void SearchView::runHtdig(const TQString &arg)
proc.start(KProcess::DontCare);
}
-void qt_enter_modal(TQWidget *widget);
-void qt_leave_modal(TQWidget *widget);
+void tqt_enter_modal(TQWidget *widget);
+void tqt_leave_modal(TQWidget *widget);
void SearchView::search()
{
@@ -215,9 +215,9 @@ void SearchView::search()
// events. Hack taken from NetAccess...
kapp->setOverrideCursor(waitCursor);
TQWidget blocker(0, 0, WType_Dialog | WShowModal);
- qt_enter_modal(&blocker);
+ tqt_enter_modal(&blocker);
kapp->enter_loop();
- qt_leave_modal(&blocker);
+ tqt_leave_modal(&blocker);
kapp->restoreOverrideCursor();
if (!proc->normalExit() || proc->exitStatus() != 0)
diff --git a/parts/regexptest/regexptestdlg.cpp b/parts/regexptest/regexptestdlg.cpp
index 0f761ed9..3907f08c 100644
--- a/parts/regexptest/regexptestdlg.cpp
+++ b/parts/regexptest/regexptestdlg.cpp
@@ -241,7 +241,7 @@ void RegexpTestDialog::showRegExpEditor( )
if ( _regexp_dialog )
{
KRegExpEditorInterface *editor =
- static_cast<KRegExpEditorInterface *>( _regexp_dialog->qt_cast( "KRegExpEditorInterface" ) );
+ static_cast<KRegExpEditorInterface *>( _regexp_dialog->tqt_cast( "KRegExpEditorInterface" ) );
editor->setRegExp( pattern_edit->text() );
diff --git a/parts/replace/replacedlgimpl.cpp b/parts/replace/replacedlgimpl.cpp
index b0c5bffd..0ee78577 100644
--- a/parts/replace/replacedlgimpl.cpp
+++ b/parts/replace/replacedlgimpl.cpp
@@ -88,7 +88,7 @@ void ReplaceDlgImpl::showRegExpEditor()
if ( _regexp_dialog )
{
KRegExpEditorInterface *editor =
- static_cast<KRegExpEditorInterface *>( _regexp_dialog->qt_cast( "KRegExpEditorInterface" ) );
+ static_cast<KRegExpEditorInterface *>( _regexp_dialog->tqt_cast( "KRegExpEditorInterface" ) );
editor->setRegExp( regexp_combo->currentText() );