summaryrefslogtreecommitdiffstats
path: root/tdeparts/tests/notepad.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeparts/tests/notepad.cpp')
-rw-r--r--tdeparts/tests/notepad.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeparts/tests/notepad.cpp b/tdeparts/tests/notepad.cpp
index ad81b91b3..9ab7b7d69 100644
--- a/tdeparts/tests/notepad.cpp
+++ b/tdeparts/tests/notepad.cpp
@@ -26,7 +26,7 @@ NotepadPart::NotepadPart( TQWidget* parentWidget, const char*,
m_edit = new TQMultiLineEdit( parentWidget, "NotepadPart's multiline edit" );
setWidget( m_edit );
- (void)new TDEAction( "Search and replace", 0, this, TQT_SLOT( slotSearchReplace() ), actionCollection(), "searchreplace" );
+ (void)new TDEAction( "Search and replace", 0, this, TQ_SLOT( slotSearchReplace() ), actionCollection(), "searchreplace" );
setXMLFile( "notepadpart.rc" );
setReadWrite( true );
}
@@ -39,9 +39,9 @@ void NotepadPart::setReadWrite( bool rw )
{
m_edit->setReadOnly( !rw );
if (rw)
- connect( m_edit, TQT_SIGNAL( textChanged() ), this, TQT_SLOT( setModified() ) );
+ connect( m_edit, TQ_SIGNAL( textChanged() ), this, TQ_SLOT( setModified() ) );
else
- disconnect( m_edit, TQT_SIGNAL( textChanged() ), this, TQT_SLOT( setModified() ) );
+ disconnect( m_edit, TQ_SIGNAL( textChanged() ), this, TQ_SLOT( setModified() ) );
ReadWritePart::setReadWrite( rw );
}