summaryrefslogtreecommitdiffstats
path: root/tdeparts
diff options
context:
space:
mode:
Diffstat (limited to 'tdeparts')
-rw-r--r--tdeparts/browserextension.cpp40
-rw-r--r--tdeparts/browserextension.h4
-rw-r--r--tdeparts/browserrun.cpp12
-rw-r--r--tdeparts/dockmainwindow.cpp16
-rw-r--r--tdeparts/mainwindow.cpp16
-rw-r--r--tdeparts/part.cpp12
-rw-r--r--tdeparts/partmanager.cpp16
-rw-r--r--tdeparts/tests/example.cpp14
-rw-r--r--tdeparts/tests/ghostview.cpp4
-rw-r--r--tdeparts/tests/normalktm.cpp10
-rw-r--r--tdeparts/tests/notepad.cpp6
-rw-r--r--tdeparts/tests/plugin_spellcheck.cpp2
12 files changed, 76 insertions, 76 deletions
diff --git a/tdeparts/browserextension.cpp b/tdeparts/browserextension.cpp
index ec31eea3e..9b134819d 100644
--- a/tdeparts/browserextension.cpp
+++ b/tdeparts/browserextension.cpp
@@ -377,14 +377,14 @@ BrowserExtension::BrowserExtension( KParts::ReadOnlyPart *parent,
d->m_actionStatus.setBit( i, slotNames.contains( it.key()+"()" ) );
}
- connect( m_part, TQT_SIGNAL( completed() ),
- this, TQT_SLOT( slotCompleted() ) );
- connect( this, TQT_SIGNAL( openURLRequest( const KURL &, const KParts::URLArgs & ) ),
- this, TQT_SLOT( slotOpenURLRequest( const KURL &, const KParts::URLArgs & ) ) );
- connect( this, TQT_SIGNAL( enableAction( const char *, bool ) ),
- this, TQT_SLOT( slotEnableAction( const char *, bool ) ) );
- connect( this, TQT_SIGNAL( setActionText( const char *, const TQString& ) ),
- this, TQT_SLOT( slotSetActionText( const char *, const TQString& ) ) );
+ connect( m_part, TQ_SIGNAL( completed() ),
+ this, TQ_SLOT( slotCompleted() ) );
+ connect( this, TQ_SIGNAL( openURLRequest( const KURL &, const KParts::URLArgs & ) ),
+ this, TQ_SLOT( slotOpenURLRequest( const KURL &, const KParts::URLArgs & ) ) );
+ connect( this, TQ_SIGNAL( enableAction( const char *, bool ) ),
+ this, TQ_SLOT( slotEnableAction( const char *, bool ) ) );
+ connect( this, TQ_SIGNAL( setActionText( const char *, const TQString& ) ),
+ this, TQ_SLOT( slotSetActionText( const char *, const TQString& ) ) );
}
BrowserExtension::~BrowserExtension()
@@ -496,7 +496,7 @@ void BrowserExtension::slotOpenURLRequest( const KURL &url, const KParts::URLArg
req.m_delayedURL = url;
req.m_delayedArgs = args;
d->m_requests.append( req );
- TQTimer::singleShot( 0, this, TQT_SLOT( slotEmitOpenURLRequestDelayed() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( slotEmitOpenURLRequestDelayed() ) );
}
void BrowserExtension::slotEmitOpenURLRequestDelayed()
@@ -576,19 +576,19 @@ void BrowserExtension::createActionSlotMap()
assert(!s_actionSlotMap);
s_actionSlotMap = actionSlotMapsd.setObject( s_actionSlotMap, new ActionSlotMap );
- s_actionSlotMap->insert( "cut", TQT_SLOT( cut() ) );
- s_actionSlotMap->insert( "copy", TQT_SLOT( copy() ) );
- s_actionSlotMap->insert( "paste", TQT_SLOT( paste() ) );
- s_actionSlotMap->insert( "rename", TQT_SLOT( rename() ) );
- s_actionSlotMap->insert( "trash", TQT_SLOT( trash() ) );
- s_actionSlotMap->insert( "del", TQT_SLOT( del() ) );
- s_actionSlotMap->insert( "properties", TQT_SLOT( properties() ) );
- s_actionSlotMap->insert( "editMimeType", TQT_SLOT( editMimeType() ) );
- s_actionSlotMap->insert( "print", TQT_SLOT( print() ) );
+ s_actionSlotMap->insert( "cut", TQ_SLOT( cut() ) );
+ s_actionSlotMap->insert( "copy", TQ_SLOT( copy() ) );
+ s_actionSlotMap->insert( "paste", TQ_SLOT( paste() ) );
+ s_actionSlotMap->insert( "rename", TQ_SLOT( rename() ) );
+ s_actionSlotMap->insert( "trash", TQ_SLOT( trash() ) );
+ s_actionSlotMap->insert( "del", TQ_SLOT( del() ) );
+ s_actionSlotMap->insert( "properties", TQ_SLOT( properties() ) );
+ s_actionSlotMap->insert( "editMimeType", TQ_SLOT( editMimeType() ) );
+ s_actionSlotMap->insert( "print", TQ_SLOT( print() ) );
// Tricky. Those aren't actions in fact, but simply methods that a browserextension
// can have or not. No need to return them here.
- //s_actionSlotMap->insert( "reparseConfiguration", TQT_SLOT( reparseConfiguration() ) );
- //s_actionSlotMap->insert( "refreshMimeTypes", TQT_SLOT( refreshMimeTypes() ) );
+ //s_actionSlotMap->insert( "reparseConfiguration", TQ_SLOT( reparseConfiguration() ) );
+ //s_actionSlotMap->insert( "refreshMimeTypes", TQ_SLOT( refreshMimeTypes() ) );
// nothing for setSaveViewPropertiesLocally either
// Create the action-number map
diff --git a/tdeparts/browserextension.h b/tdeparts/browserextension.h
index 027bbd87f..6d1c4d144 100644
--- a/tdeparts/browserextension.h
+++ b/tdeparts/browserextension.h
@@ -435,7 +435,7 @@ public:
typedef TQMap<TQCString,TQCString> ActionSlotMap;
/**
* Returns a map containing the action names as keys and corresponding
- * TQT_SLOT()'ified method names as data entries.
+ * TQ_SLOT()'ified method names as data entries.
*
* This is very useful for
* the host component, when connecting the own signals with the
@@ -455,7 +455,7 @@ public:
* Connecting to the slot can be done like this:
*
* \code
- * connect( yourObject, TQT_SIGNAL( yourSignal() ),
+ * connect( yourObject, TQ_SIGNAL( yourSignal() ),
* extension, mapIterator.data() )
* \endcode
*
diff --git a/tdeparts/browserrun.cpp b/tdeparts/browserrun.cpp
index c459e818e..95df76ece 100644
--- a/tdeparts/browserrun.cpp
+++ b/tdeparts/browserrun.cpp
@@ -146,10 +146,10 @@ void BrowserRun::scanFile()
job->addMetaData( m_args.metaData() );
job->setWindow( m_window );
- connect( job, TQT_SIGNAL( result( TDEIO::Job *)),
- this, TQT_SLOT( slotBrowserScanFinished(TDEIO::Job *)));
- connect( job, TQT_SIGNAL( mimetype( TDEIO::Job *, const TQString &)),
- this, TQT_SLOT( slotBrowserMimetype(TDEIO::Job *, const TQString &)));
+ connect( job, TQ_SIGNAL( result( TDEIO::Job *)),
+ this, TQ_SLOT( slotBrowserScanFinished(TDEIO::Job *)));
+ connect( job, TQ_SIGNAL( mimetype( TDEIO::Job *, const TQString &)),
+ this, TQ_SLOT( slotBrowserMimetype(TDEIO::Job *, const TQString &)));
m_job = job;
}
@@ -244,8 +244,8 @@ BrowserRun::NonEmbeddableResult BrowserRun::handleNonEmbeddable( const TQString&
destURL.setPath( tempFile.name() );
TDEIO::Job *job = TDEIO::file_copy( m_strURL, destURL, 0600, true /*overwrite*/, false /*no resume*/, true /*progress info*/ );
job->setWindow (m_window);
- connect( job, TQT_SIGNAL( result( TDEIO::Job *)),
- this, TQT_SLOT( slotCopyToTempFileResult(TDEIO::Job *)) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job *)),
+ this, TQ_SLOT( slotCopyToTempFileResult(TDEIO::Job *)) );
return Delayed; // We'll continue after the job has finished
}
}
diff --git a/tdeparts/dockmainwindow.cpp b/tdeparts/dockmainwindow.cpp
index 7aa5d0212..e7ce785ac 100644
--- a/tdeparts/dockmainwindow.cpp
+++ b/tdeparts/dockmainwindow.cpp
@@ -89,10 +89,10 @@ void DockMainWindow::createGUI( Part * part )
factory->removeClient( d->m_activePart );
- disconnect( d->m_activePart, TQT_SIGNAL( setWindowCaption( const TQString & ) ),
- this, TQT_SLOT( setCaption( const TQString & ) ) );
- disconnect( d->m_activePart, TQT_SIGNAL( setStatusBarText( const TQString & ) ),
- this, TQT_SLOT( slotSetStatusBarText( const TQString & ) ) );
+ disconnect( d->m_activePart, TQ_SIGNAL( setWindowCaption( const TQString & ) ),
+ this, TQ_SLOT( setCaption( const TQString & ) ) );
+ disconnect( d->m_activePart, TQ_SIGNAL( setStatusBarText( const TQString & ) ),
+ this, TQ_SLOT( slotSetStatusBarText( const TQString & ) ) );
}
if ( !d->m_bShellGUIActivated )
@@ -105,10 +105,10 @@ void DockMainWindow::createGUI( Part * part )
if ( part )
{
// do this before sending the activate event
- connect( part, TQT_SIGNAL( setWindowCaption( const TQString & ) ),
- this, TQT_SLOT( setCaption( const TQString & ) ) );
- connect( part, TQT_SIGNAL( setStatusBarText( const TQString & ) ),
- this, TQT_SLOT( slotSetStatusBarText( const TQString & ) ) );
+ connect( part, TQ_SIGNAL( setWindowCaption( const TQString & ) ),
+ this, TQ_SLOT( setCaption( const TQString & ) ) );
+ connect( part, TQ_SIGNAL( setStatusBarText( const TQString & ) ),
+ this, TQ_SLOT( slotSetStatusBarText( const TQString & ) ) );
factory->addClient( part );
diff --git a/tdeparts/mainwindow.cpp b/tdeparts/mainwindow.cpp
index 80bfb6071..26adbd838 100644
--- a/tdeparts/mainwindow.cpp
+++ b/tdeparts/mainwindow.cpp
@@ -107,10 +107,10 @@ void MainWindow::createGUI( Part * part )
factory->removeClient( d->m_activePart );
- disconnect( d->m_activePart, TQT_SIGNAL( setWindowCaption( const TQString & ) ),
- this, TQT_SLOT( setCaption( const TQString & ) ) );
- disconnect( d->m_activePart, TQT_SIGNAL( setStatusBarText( const TQString & ) ),
- this, TQT_SLOT( slotSetStatusBarText( const TQString & ) ) );
+ disconnect( d->m_activePart, TQ_SIGNAL( setWindowCaption( const TQString & ) ),
+ this, TQ_SLOT( setCaption( const TQString & ) ) );
+ disconnect( d->m_activePart, TQ_SIGNAL( setStatusBarText( const TQString & ) ),
+ this, TQ_SLOT( slotSetStatusBarText( const TQString & ) ) );
}
if ( !d->m_bShellGUIActivated )
@@ -123,10 +123,10 @@ void MainWindow::createGUI( Part * part )
if ( part )
{
// do this before sending the activate event
- connect( part, TQT_SIGNAL( setWindowCaption( const TQString & ) ),
- this, TQT_SLOT( setCaption( const TQString & ) ) );
- connect( part, TQT_SIGNAL( setStatusBarText( const TQString & ) ),
- this, TQT_SLOT( slotSetStatusBarText( const TQString & ) ) );
+ connect( part, TQ_SIGNAL( setWindowCaption( const TQString & ) ),
+ this, TQ_SLOT( setCaption( const TQString & ) ) );
+ connect( part, TQ_SIGNAL( setStatusBarText( const TQString & ) ),
+ this, TQ_SLOT( slotSetStatusBarText( const TQString & ) ) );
factory->addClient( part );
diff --git a/tdeparts/part.cpp b/tdeparts/part.cpp
index 286a5f93b..b65106ea7 100644
--- a/tdeparts/part.cpp
+++ b/tdeparts/part.cpp
@@ -146,8 +146,8 @@ Part::~Part()
if ( m_widget )
{
// We need to disconnect first, to avoid calling it !
- disconnect( m_widget, TQT_SIGNAL( destroyed() ),
- this, TQT_SLOT( slotWidgetDestroyed() ) );
+ disconnect( m_widget, TQ_SIGNAL( destroyed() ),
+ this, TQ_SLOT( slotWidgetDestroyed() ) );
}
if ( m_manager )
@@ -195,8 +195,8 @@ void Part::setWidget( TQWidget *widget )
{
assert ( !m_widget ); // otherwise we get two connects
m_widget = widget;
- connect( m_widget, TQT_SIGNAL( destroyed() ),
- this, TQT_SLOT( slotWidgetDestroyed() ) );
+ connect( m_widget, TQ_SIGNAL( destroyed() ),
+ this, TQ_SLOT( slotWidgetDestroyed() ) );
// Tell the actionCollection() which widget its
// action shortcuts should be connected to.
@@ -367,7 +367,7 @@ bool ReadOnlyPart::openURL( const KURL &url )
d->m_job = TDEIO::file_copy( m_url, destURL, 0600, true, false, d->m_showProgressInfo );
d->m_job->setWindow( widget() ? widget()->topLevelWidget() : 0 );
emit started( d->m_job );
- connect( d->m_job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotJobFinished ( TDEIO::Job * ) ) );
+ connect( d->m_job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( slotJobFinished ( TDEIO::Job * ) ) );
return true;
}
}
@@ -639,7 +639,7 @@ bool ReadWritePart::saveToURL()
}
d->m_uploadJob = TDEIO::file_move( uploadUrl, m_url, -1, true /*overwrite*/ );
d->m_uploadJob->setWindow( widget() ? widget()->topLevelWidget() : 0 );
- connect( d->m_uploadJob, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotUploadFinished (TDEIO::Job *) ) );
+ connect( d->m_uploadJob, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( slotUploadFinished (TDEIO::Job *) ) );
return true;
}
}
diff --git a/tdeparts/partmanager.cpp b/tdeparts/partmanager.cpp
index 8a41eb18c..1ca3f9dab 100644
--- a/tdeparts/partmanager.cpp
+++ b/tdeparts/partmanager.cpp
@@ -119,8 +119,8 @@ PartManager::~PartManager()
{
for ( TQPtrListIterator<TQWidget> it( d->m_managedTopLevelWidgets );
it.current(); ++it )
- disconnect( it.current(), TQT_SIGNAL( destroyed() ),
- this, TQT_SLOT( slotManagedTopLevelWidgetDestroyed() ) );
+ disconnect( it.current(), TQ_SIGNAL( destroyed() ),
+ this, TQ_SLOT( slotManagedTopLevelWidgetDestroyed() ) );
for ( TQPtrListIterator<Part> it( d->m_parts ); it.current(); ++it )
{
@@ -455,8 +455,8 @@ void PartManager::setActivePart( Part *part, TQWidget *widget )
TQApplication::sendEvent( oldActivePart, &ev );
if ( oldActiveWidget )
{
- disconnect( oldActiveWidget, TQT_SIGNAL( destroyed() ),
- this, TQT_SLOT( slotWidgetDestroyed() ) );
+ disconnect( oldActiveWidget, TQ_SIGNAL( destroyed() ),
+ this, TQ_SLOT( slotWidgetDestroyed() ) );
TQApplication::sendEvent( oldActiveWidget, &ev );
}
@@ -473,8 +473,8 @@ void PartManager::setActivePart( Part *part, TQWidget *widget )
TQApplication::sendEvent( d->m_activePart, &ev );
if ( d->m_activeWidget )
{
- connect( d->m_activeWidget, TQT_SIGNAL( destroyed() ),
- this, TQT_SLOT( slotWidgetDestroyed() ) );
+ connect( d->m_activeWidget, TQ_SIGNAL( destroyed() ),
+ this, TQ_SLOT( slotWidgetDestroyed() ) );
TQApplication::sendEvent( d->m_activeWidget, &ev );
}
}
@@ -568,8 +568,8 @@ void PartManager::addManagedTopLevelWidget( const TQWidget *topLevel )
return;
d->m_managedTopLevelWidgets.append( topLevel );
- connect( topLevel, TQT_SIGNAL( destroyed() ),
- this, TQT_SLOT( slotManagedTopLevelWidgetDestroyed() ) );
+ connect( topLevel, TQ_SIGNAL( destroyed() ),
+ this, TQ_SLOT( slotManagedTopLevelWidgetDestroyed() ) );
}
void PartManager::removeManagedTopLevelWidget( const TQWidget *topLevel )
diff --git a/tdeparts/tests/example.cpp b/tdeparts/tests/example.cpp
index fedf93ee6..e44e4c2e2 100644
--- a/tdeparts/tests/example.cpp
+++ b/tdeparts/tests/example.cpp
@@ -21,8 +21,8 @@ Shell::Shell()
m_manager = new KParts::PartManager( this );
// When the manager says the active part changes, the builder updates (recreates) the GUI
- connect( m_manager, TQT_SIGNAL( activePartChanged( KParts::Part * ) ),
- this, TQT_SLOT( createGUI( KParts::Part * ) ) );
+ connect( m_manager, TQ_SIGNAL( activePartChanged( KParts::Part * ) ),
+ this, TQ_SLOT( createGUI( KParts::Part * ) ) );
// We can do this "switch active part" because we have a splitter with
// two items in it.
@@ -34,13 +34,13 @@ Shell::Shell()
TDEActionCollection *coll = actionCollection();
- (void)new TDEAction( "&View local file", 0, this, TQT_SLOT( slotFileOpen() ), coll, "open_local_file" );
- (void)new TDEAction( "&View remote file", 0, this, TQT_SLOT( slotFileOpenRemote() ), coll, "open_remote_file" );
+ (void)new TDEAction( "&View local file", 0, this, TQ_SLOT( slotFileOpen() ), coll, "open_local_file" );
+ (void)new TDEAction( "&View remote file", 0, this, TQ_SLOT( slotFileOpenRemote() ), coll, "open_remote_file" );
- m_paEditFile = new TDEAction( "&Edit file", 0, this, TQT_SLOT( slotFileEdit() ), coll, "edit_file" );
- m_paCloseEditor = new TDEAction( "&Close file editor", 0, this, TQT_SLOT( slotFileCloseEditor() ), coll, "close_editor" );
+ m_paEditFile = new TDEAction( "&Edit file", 0, this, TQ_SLOT( slotFileEdit() ), coll, "edit_file" );
+ m_paCloseEditor = new TDEAction( "&Close file editor", 0, this, TQ_SLOT( slotFileCloseEditor() ), coll, "close_editor" );
m_paCloseEditor->setEnabled(false);
- TDEAction * paQuit = new TDEAction( "&Quit", 0, this, TQT_SLOT( close() ), coll, "shell_quit" );
+ TDEAction * paQuit = new TDEAction( "&Quit", 0, this, TQ_SLOT( close() ), coll, "shell_quit" );
paQuit->setIconSet(TQIconSet(BarIcon("system-log-out")));
(void)new TDEAction( "Yet another menu item", 0, coll, "shell_yami" );
diff --git a/tdeparts/tests/ghostview.cpp b/tdeparts/tests/ghostview.cpp
index 39af41a73..723343303 100644
--- a/tdeparts/tests/ghostview.cpp
+++ b/tdeparts/tests/ghostview.cpp
@@ -21,9 +21,9 @@ Shell::Shell()
setXMLFile( "ghostviewtest_shell.rc" );
TDEAction * paOpen = new TDEAction( "&Open file" , "document-open", 0, this,
- TQT_SLOT( slotFileOpen() ), actionCollection(), "file_open" );
+ TQ_SLOT( slotFileOpen() ), actionCollection(), "file_open" );
- TDEAction * paQuit = new TDEAction( "&Quit" , "system-log-out", 0, this, TQT_SLOT( close() ), actionCollection(), "file_quit" );
+ TDEAction * paQuit = new TDEAction( "&Quit" , "system-log-out", 0, this, TQ_SLOT( close() ), actionCollection(), "file_quit" );
// Try to find a postscript component first
TDETrader::OfferList offers = TDETrader::self()->query("application/postscript", "('KParts/ReadOnlyPart' in ServiceTypes) or ('Browser/View' in ServiceTypes)");
diff --git a/tdeparts/tests/normalktm.cpp b/tdeparts/tests/normalktm.cpp
index 3fe7f1a7a..eae4e80af 100644
--- a/tdeparts/tests/normalktm.cpp
+++ b/tdeparts/tests/normalktm.cpp
@@ -29,21 +29,21 @@ Shell::Shell()
TQPopupMenu * pFile = new TQPopupMenu( this );
menuBar()->insertItem( "File", pFile );
TQObject * coll = this;
- TDEAction * paLocal = new TDEAction( "&View local file", 0, this, TQT_SLOT( slotFileOpen() ), coll, "open_local_file" );
+ TDEAction * paLocal = new TDEAction( "&View local file", 0, this, TQ_SLOT( slotFileOpen() ), coll, "open_local_file" );
// No XML : we need to plug our actions ourselves
paLocal->plug( pFile );
- TDEAction * paRemote = new TDEAction( "&View remote file", 0, this, TQT_SLOT( slotFileOpenRemote() ), coll, "open_remote_file" );
+ TDEAction * paRemote = new TDEAction( "&View remote file", 0, this, TQ_SLOT( slotFileOpenRemote() ), coll, "open_remote_file" );
paRemote->plug( pFile );
- m_paEditFile = new TDEAction( "&Edit file", 0, this, TQT_SLOT( slotFileEdit() ), coll, "edit_file" );
+ m_paEditFile = new TDEAction( "&Edit file", 0, this, TQ_SLOT( slotFileEdit() ), coll, "edit_file" );
m_paEditFile->plug( pFile );
- m_paCloseEditor = new TDEAction( "&Close file editor", 0, this, TQT_SLOT( slotFileCloseEditor() ), coll, "close_editor" );
+ m_paCloseEditor = new TDEAction( "&Close file editor", 0, this, TQ_SLOT( slotFileCloseEditor() ), coll, "close_editor" );
m_paCloseEditor->setEnabled(false);
m_paCloseEditor->plug( pFile );
- TDEAction * paQuit = new TDEAction( "&Quit", 0, this, TQT_SLOT( close() ), coll, "shell_quit" );
+ TDEAction * paQuit = new TDEAction( "&Quit", 0, this, TQ_SLOT( close() ), coll, "shell_quit" );
paQuit->setIconSet(TQIconSet(BarIcon("system-log-out")));
paQuit->plug( pFile );
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 );
}
diff --git a/tdeparts/tests/plugin_spellcheck.cpp b/tdeparts/tests/plugin_spellcheck.cpp
index ae7af326f..927bc9123 100644
--- a/tdeparts/tests/plugin_spellcheck.cpp
+++ b/tdeparts/tests/plugin_spellcheck.cpp
@@ -11,7 +11,7 @@ PluginSpellCheck::PluginSpellCheck( TQObject* parent, const char* name,
const TQStringList& )
: Plugin( parent, name )
{
- (void) new TDEAction( "&Select current line (plugin)", 0, this, TQT_SLOT(slotSpellCheck()),
+ (void) new TDEAction( "&Select current line (plugin)", 0, this, TQ_SLOT(slotSpellCheck()),
actionCollection(), "tools-check-spelling" );
}