summaryrefslogtreecommitdiffstats
path: root/tde-i18n-et
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 16:30:02 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-21 23:15:52 +0900
commit2ea8296a80cea67f07d15d6994579dfcc0022885 (patch)
tree88c1d51d6de3a923fdcdf2f57df6058d0c4b95e7 /tde-i18n-et
parentc5441a7230ccc9f787eeb87e14fa92d652356d9e (diff)
downloadtde-i18n-2ea8296a80cea67f07d15d6994579dfcc0022885.tar.gz
tde-i18n-2ea8296a80cea67f07d15d6994579dfcc0022885.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 1a2c703f4d5f22e9f8a0e74a2976895d85318e51)
Diffstat (limited to 'tde-i18n-et')
-rw-r--r--tde-i18n-et/docs/tdebase/ksplashml/index.docbook2
-rw-r--r--tde-i18n-et/docs/tdevelop/kde_app_devel/index.docbook14
-rw-r--r--tde-i18n-et/docs/tdevelop/kdearch/index.docbook28
3 files changed, 22 insertions, 22 deletions
diff --git a/tde-i18n-et/docs/tdebase/ksplashml/index.docbook b/tde-i18n-et/docs/tdebase/ksplashml/index.docbook
index dcf168c63bf..d5b9717c8c7 100644
--- a/tde-i18n-et/docs/tdebase/ksplashml/index.docbook
+++ b/tde-i18n-et/docs/tdebase/ksplashml/index.docbook
@@ -990,7 +990,7 @@ c2, int sp )
preparePixmap( i );
m_stepTimer = new QTimer( this );
- connect(m_stepTimer, SIGNAL(timeout()), this, SLOT(stepEvent()));
+ connect(m_stepTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(stepEvent()));
m_stepTimer-&gt;start( 50 );
}
diff --git a/tde-i18n-et/docs/tdevelop/kde_app_devel/index.docbook b/tde-i18n-et/docs/tdevelop/kde_app_devel/index.docbook
index 420c5da0b0f..f6e80ff318c 100644
--- a/tde-i18n-et/docs/tdevelop/kde_app_devel/index.docbook
+++ b/tde-i18n-et/docs/tdevelop/kde_app_devel/index.docbook
@@ -255,14 +255,14 @@ 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();
}
</programlisting>
</para>
-<para>Nagu näed, saab üheainsa lisandusega anda nupule suurema interaktiivsuse. Selleks on vaja ainult lisada meetod <methodname>connect()</methodname>: <methodname>connect(&amp;hello, SIGNAL( clicked() ), &amp;a, SLOT( quit() ))</methodname>. Mida see tähendab? Klassi TQObject deklaratsioon ütleb meetodi <methodname>connect()</methodname> kohta järgmist: </para>
+<para>Nagu näed, saab üheainsa lisandusega anda nupule suurema interaktiivsuse. Selleks on vaja ainult lisada meetod <methodname>connect()</methodname>: <methodname>connect(&amp;hello, TQ_SIGNAL( clicked() ), &amp;a, TQ_SLOT( quit() ))</methodname>. Mida see tähendab? Klassi TQObject deklaratsioon ütleb meetodi <methodname>connect()</methodname> kohta järgmist: </para>
<para><methodname>bool connect ( const TQObject * sender, const char * signal, const TQObject * receiver, const char * member ) </methodname></para>
<para>See tähendab, et sul tuleb määrata <classname>TQObject</classname> eksemplari viit, mis on signaali saatja, mis tähendab, et sa emiteerid selle signaali esimese parameetrina. Seejärel tuleb määrata signaal, millega soovid ühenduse luua. Viimased kaks parameetrit on vastuvõttev objekt, mis pakub pesa, ning sellele järgneb liikmesfunktsioon, mis ongi tegelik pesa, mis käivitatakse signaali emiteerimisel. </para>
<para>Signaalide ja pesade abil saavad sinu programmi objektid üksteisega suhelda ilma vajaduseta otseselt sõltuda vastuvõtva objekti tüübist. Selle mehhanismi kasutamisest tuleb käsiraamatus veel pikemalt juttu. Rohkem infot signaalide ja pesade mehhanismi kohta leiab ka <ulink url="developer.kde.org/documentation/library/libraryref.html">KDE teegi</ulink> ja <ulink url="doc.trolltech.com">Qt dokumentatsioonist</ulink>. </para>
@@ -304,7 +304,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();
@@ -549,10 +549,10 @@ return a.exec();
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>
diff --git a/tde-i18n-et/docs/tdevelop/kdearch/index.docbook b/tde-i18n-et/docs/tdevelop/kdearch/index.docbook
index 224f4d02212..dc65a02b852 100644
--- a/tde-i18n-et/docs/tdevelop/kdearch/index.docbook
+++ b/tde-i18n-et/docs/tdevelop/kdearch/index.docbook
@@ -881,23 +881,23 @@ rc_DATA = kviewui.rc
<para>Vastav osa C++ keeles kõlab: </para>
-<programlisting>KStdAction::zoomIn ( this, SLOT(slotZoomIn()), actionCollection() );
- KStdAction::zoomOut ( this, SLOT(slotZoomOut()), actionCollection() );
- KStdAction::zoom ( this, SLOT(slotZoom()), actionCollection() );
+<programlisting>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>
@@ -1400,8 +1400,8 @@ else
{
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)
@@ -1507,8 +1507,8 @@ new KRun(url);
<programlisting>void FooClass::makeDirectory()
{
SimpleJob *job = TDEIO::mkdir(KURL("file:/home/bernd/kiodir"));
- 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)
@@ -1692,8 +1692,8 @@ if (TDEIO::NetAccess::download(url, tempFile) {
{
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)