summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/kdearch/index.docbook28
-rw-r--r--doc/tde_app_devel/index.docbook14
2 files changed, 21 insertions, 21 deletions
diff --git a/doc/kdearch/index.docbook b/doc/kdearch/index.docbook
index fc21e33a..0dbe8dbe 100644
--- a/doc/kdearch/index.docbook
+++ b/doc/kdearch/index.docbook
@@ -1420,23 +1420,23 @@ The corresponding part of the setup in C++ is:
</para>
<programlisting>
- KStdAction::zoomIn ( this, SLOT(slotZoomIn()), actionCollection() );
- KStdAction::zoomOut ( this, SLOT(slotZoomOut()), actionCollection() );
- KStdAction::zoom ( this, SLOT(slotZoom()), actionCollection() );
+ KStdAction::zoomIn ( this, TQ_SLOT(slotZoomIn()), actionCollection() );
+ KStdAction::zoomOut ( this, TQ_SLOT(slotZoomOut()), actionCollection() );
+ KStdAction::zoom ( this, TQ_SLOT(slotZoom()), actionCollection() );
new TDEAction ( i18n("&amp;Half size"), ALT+Key_0,
- this, SLOT(slotHalfSize()),
+ this, TQ_SLOT(slotHalfSize()),
actionCollection(), "zoom50" );
new TDEAction ( i18n("&amp;Normal size"), ALT+Key_1,
- this, SLOT(slotDoubleSize()),
+ this, TQ_SLOT(slotDoubleSize()),
actionCollection(), "zoom100" );
new TDEAction ( i18n("&amp;Double size"), ALT+Key_2,
- this, SLOT(slotDoubleSize()),
+ this, TQ_SLOT(slotDoubleSize()),
actionCollection(), "zoom200" );
new TDEAction ( i18n("&amp;Fill Screen"), ALT+Key_3,
- this, SLOT(slotFillScreen()),
+ this, TQ_SLOT(slotFillScreen()),
actionCollection(), "zoomMaxpect" );
new TDEAction ( i18n("Fullscreen &amp;Mode"), CTRL+SHIFT+Key_F,
- this, SLOT(slotFullScreen()),
+ this, TQ_SLOT(slotFullScreen()),
actionCollection(), "fullscreen" );
</programlisting>
@@ -2409,8 +2409,8 @@ void FooClass::findType()
{
KURL url("http://developer.kde.org/favicon.ico");
TDEIO::MimetypeJob *job = TDEIO::mimetype(url);
- connect( job, SIGNAL(result(TDEIO::Job*)),
- this, SLOT(mimeResult(TDEIO::Job*)) );
+ connect( job, TQ_SIGNAL(result(TDEIO::Job*)),
+ this, TQ_SLOT(mimeResult(TDEIO::Job*)) );
}
void FooClass::mimeResult(TDEIO::Job *job)
@@ -2603,8 +2603,8 @@ deletes itself. Thus, a typical use case will look like this:
void FooClass::makeDirectory()
{
SimpleJob *job = TDEIO::mkdir(KURL("file:/home/bernd/tdeiodir"));
- connect( job, SIGNAL(result(TDEIO::Job*)),
- this, SLOT(mkdirResult(TDEIO::Job*)) );
+ connect( job, TQ_SIGNAL(result(TDEIO::Job*)),
+ this, TQ_SLOT(mkdirResult(TDEIO::Job*)) );
}
void FooClass::mkdirResult(TDEIO::Job *job)
@@ -2942,8 +2942,8 @@ void FooClass::printModifiedDate()
{
KURL url("http://developer.kde.org/documentation/kde2arch/index.html");
TDEIO::TransferJob *job = TDEIO::get(url, true, false);
- connect( job, SIGNAL(result(TDEIO::Job*)),
- this, SLOT(transferResult(TDEIO::Job*)) );
+ connect( job, TQ_SIGNAL(result(TDEIO::Job*)),
+ this, TQ_SLOT(transferResult(TDEIO::Job*)) );
}
void FooClass::transferResult(TDEIO::Job *job)
diff --git a/doc/tde_app_devel/index.docbook b/doc/tde_app_devel/index.docbook
index 4ab2cd22..f24131a9 100644
--- a/doc/tde_app_devel/index.docbook
+++ b/doc/tde_app_devel/index.docbook
@@ -479,7 +479,7 @@ hello.resize( 100, 30 );
a.setMainWidget( &amp;hello );
-TQObject::connect(&amp;hello, SIGNAL( clicked() ), &amp;a, SLOT( quit() ));
+TQObject::connect(&amp;hello, TQ_SIGNAL( clicked() ), &amp;a, TQ_SLOT( quit() ));
hello.show();
return a.exec();
@@ -488,7 +488,7 @@ return a.exec();
</para>
<para>
You see, the only addition to give the button more interaction is to use a <methodname>connect()
-</methodname> method: <methodname>connect(&amp;hello, SIGNAL( clicked() ), &amp;a, SLOT( quit() ))</methodname>;
+</methodname> method: <methodname>connect(&amp;hello, TQ_SIGNAL( clicked() ), &amp;a, TQ_SLOT( quit() ))</methodname>;
is all you have to add. What is the meaning now? The class declaration of TQObject says about the
<methodname>connect()</methodname> method:
</para>
@@ -573,7 +573,7 @@ hello.resize( 100, 30 );
a.setTopWidget( &amp;hello );
-TQObject::connect(&amp;hello, SIGNAL( clicked() ), &amp;a, SLOT( quit() ));
+TQObject::connect(&amp;hello, TQ_SIGNAL( clicked() ), &amp;a, TQ_SLOT( quit() ));
hello.show();
return a.exec();
@@ -924,10 +924,10 @@ Let's have a look at the constructor and see how this instance is called
16 statusBar()->show();
17
18 // allow the view to change the statusbar and caption
-19 connect(m_view, SIGNAL(signalChangeStatusbar(const TQString&amp;)),
-20 this, SLOT(changeStatusbar(const TQString&amp;)));
-21 connect(m_view, SIGNAL(signalChangeCaption(const TQString&amp;)),
-22 this, SLOT(changeCaption(const TQString&amp;)));
+19 connect(m_view, TQ_SIGNAL(signalChangeStatusbar(const TQString&amp;)),
+20 this, TQ_SLOT(changeStatusbar(const TQString&amp;)));
+21 connect(m_view, TQ_SIGNAL(signalChangeCaption(const TQString&amp;)),
+22 this, TQ_SLOT(changeCaption(const TQString&amp;)));
23
24 }
</programlisting>