summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates')
-rw-r--r--languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.cpp6
-rw-r--r--languages/cpp/app_templates/kconfig35/appview.cpp2
-rw-r--r--languages/cpp/app_templates/kde4app/kapp4view_base.ui2
-rw-r--r--languages/cpp/app_templates/kioslave/slave.cpp2
-rw-r--r--languages/cpp/app_templates/kmake/mainview.ui2
-rw-r--r--languages/cpp/app_templates/kscons_kxt/appview.cpp2
-rw-r--r--languages/cpp/app_templates/kxt/appview.cpp2
-rw-r--r--languages/cpp/app_templates/noatunui/plugin_impl.cpp4
-rw-r--r--languages/cpp/app_templates/noatunvisual/plugin_impl.cpp4
-rw-r--r--languages/cpp/app_templates/noatunvisual/plugin_impl.h2
-rw-r--r--languages/cpp/app_templates/opieapp/examplebase.ui2
-rw-r--r--languages/cpp/app_templates/prc-tool/palmhello.c2
-rw-r--r--languages/cpp/app_templates/qmakeapp/qmakeapp.cpp6
-rw-r--r--languages/cpp/app_templates/qt4makeapp/qt4makeapp.cpp10
-rw-r--r--languages/cpp/app_templates/qtopiaapp/examplebase.ui2
15 files changed, 25 insertions, 25 deletions
diff --git a/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.cpp b/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.cpp
index 4b78645a..0dabf861 100644
--- a/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.cpp
+++ b/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app.cpp
@@ -159,7 +159,7 @@ void %{APPNAME}::load( const TQString &fileName )
e->setText( ts.read() );
e->setModified( FALSE );
setCaption( fileName );
- statusBar()->message( tr("Loaded document %1").tqarg(fileName), 2000 );
+ statusBar()->message( tr("Loaded document %1").arg(fileName), 2000 );
}
@@ -173,7 +173,7 @@ void %{APPNAME}::save()
TQString text = e->text();
TQFile f( filename );
if ( !f.open( IO_WriteOnly ) ) {
- statusBar()->message( tr("Could not write to %1").tqarg(filename),
+ statusBar()->message( tr("Could not write to %1").arg(filename),
2000 );
return;
}
@@ -186,7 +186,7 @@ void %{APPNAME}::save()
setCaption( filename );
- statusBar()->message( tr( "File %1 saved" ).tqarg( filename ), 2000 );
+ statusBar()->message( tr( "File %1 saved" ).arg( filename ), 2000 );
}
diff --git a/languages/cpp/app_templates/kconfig35/appview.cpp b/languages/cpp/app_templates/kconfig35/appview.cpp
index 6123db0b..30d627fe 100644
--- a/languages/cpp/app_templates/kconfig35/appview.cpp
+++ b/languages/cpp/app_templates/kconfig35/appview.cpp
@@ -33,7 +33,7 @@ void %{APPNAMELC}View::settingsChanged()
sillyLabel->setPaletteForegroundColor( Settings::col_foreground() );
// i18n : internationalization
- sillyLabel->setText( i18n("This project is %1 days old").tqarg(Settings::val_time()) );
+ sillyLabel->setText( i18n("This project is %1 days old").arg(Settings::val_time()) );
emit signalChangeStatusbar( i18n("Settings changed") );
}
diff --git a/languages/cpp/app_templates/kde4app/kapp4view_base.ui b/languages/cpp/app_templates/kde4app/kapp4view_base.ui
index c3780092..f85bd963 100644
--- a/languages/cpp/app_templates/kde4app/kapp4view_base.ui
+++ b/languages/cpp/app_templates/kde4app/kapp4view_base.ui
@@ -196,7 +196,7 @@
<property name="scaledContents" >
<bool>true</bool>
</property>
- <property name="tqalignment" >
+ <property name="alignment" >
<set>Qt::AlignCenter</set>
</property>
<property name="wordWrap" >
diff --git a/languages/cpp/app_templates/kioslave/slave.cpp b/languages/cpp/app_templates/kioslave/slave.cpp
index ad5d7991..c8dc5d81 100644
--- a/languages/cpp/app_templates/kioslave/slave.cpp
+++ b/languages/cpp/app_templates/kioslave/slave.cpp
@@ -48,7 +48,7 @@ void kio_%{APPNAMELC}Protocol::get(const KURL& url )
int remotePort = url.port();
kdDebug() << "myURL: " << url.prettyURL() << endl;
- infoMessage(i18n("Looking for %1...").tqarg( remoteServer ) );
+ infoMessage(i18n("Looking for %1...").arg( remoteServer ) );
// Send the mimeType as soon as it is known
mimeType("text/plain");
// Send the data
diff --git a/languages/cpp/app_templates/kmake/mainview.ui b/languages/cpp/app_templates/kmake/mainview.ui
index 94fb52fa..194d8ffe 100644
--- a/languages/cpp/app_templates/kmake/mainview.ui
+++ b/languages/cpp/app_templates/kmake/mainview.ui
@@ -45,7 +45,7 @@
<property name="scaledContents">
<bool>true</bool>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>AlignCenter</set>
</property>
</widget>
diff --git a/languages/cpp/app_templates/kscons_kxt/appview.cpp b/languages/cpp/app_templates/kscons_kxt/appview.cpp
index f2dd28a3..2bcc9c6a 100644
--- a/languages/cpp/app_templates/kscons_kxt/appview.cpp
+++ b/languages/cpp/app_templates/kscons_kxt/appview.cpp
@@ -33,7 +33,7 @@ void %{APPNAME}View::settingsChanged()
sillyLabel->setPaletteForegroundColor( Settings::col_foreground() );
// i18n : internationalization
- sillyLabel->setText( i18n("This project is %1 days old").tqarg(Settings::val_time()) );
+ sillyLabel->setText( i18n("This project is %1 days old").arg(Settings::val_time()) );
emit signalChangeStatusbar( i18n("Settings changed") );
}
diff --git a/languages/cpp/app_templates/kxt/appview.cpp b/languages/cpp/app_templates/kxt/appview.cpp
index 6123db0b..30d627fe 100644
--- a/languages/cpp/app_templates/kxt/appview.cpp
+++ b/languages/cpp/app_templates/kxt/appview.cpp
@@ -33,7 +33,7 @@ void %{APPNAMELC}View::settingsChanged()
sillyLabel->setPaletteForegroundColor( Settings::col_foreground() );
// i18n : internationalization
- sillyLabel->setText( i18n("This project is %1 days old").tqarg(Settings::val_time()) );
+ sillyLabel->setText( i18n("This project is %1 days old").arg(Settings::val_time()) );
emit signalChangeStatusbar( i18n("Settings changed") );
}
diff --git a/languages/cpp/app_templates/noatunui/plugin_impl.cpp b/languages/cpp/app_templates/noatunui/plugin_impl.cpp
index b859d95f..8608ba88 100644
--- a/languages/cpp/app_templates/noatunui/plugin_impl.cpp
+++ b/languages/cpp/app_templates/noatunui/plugin_impl.cpp
@@ -124,7 +124,7 @@
connect(napp->player(), TQT_SIGNAL(playlistHidden()), TQT_SLOT(playlistHidden()));
// Event Filter for the RMB
- for (TQPtrListIterator<TQObject> i(*tqchildren()); i.current(); ++i)
+ for (TQPtrListIterator<TQObject> i(*children()); i.current(); ++i)
(*i)->installEventFilter(this);
setCaption("Noatun");
@@ -189,7 +189,7 @@ void %{APPNAME}UI::changeCaption(const TQString& text)
void %{APPNAME}UI::popup()
{
NoatunStdAction::ContextMenu::showContextMenu(
- mapToGlobal(mPopup->tqgeometry().bottomLeft()) );
+ mapToGlobal(mPopup->geometry().bottomLeft()) );
}
void %{APPNAME}UI::slotPlaying()
diff --git a/languages/cpp/app_templates/noatunvisual/plugin_impl.cpp b/languages/cpp/app_templates/noatunvisual/plugin_impl.cpp
index f84a4fd3..5a5df025 100644
--- a/languages/cpp/app_templates/noatunvisual/plugin_impl.cpp
+++ b/languages/cpp/app_templates/noatunvisual/plugin_impl.cpp
@@ -117,7 +117,7 @@ void Bitmap<Type>::fadeStar()
d++;
x++;
}
- tqrepaint();
+ repaint();
}
}
@@ -220,7 +220,7 @@ void %{APPNAME}View::checkInput()
#define output2 ((unsigned char*)outputBmp.data)
-void %{APPNAME}View::tqrepaint()
+void %{APPNAME}View::repaint()
{
SDL_LockSurface(surface);
TEST();
diff --git a/languages/cpp/app_templates/noatunvisual/plugin_impl.h b/languages/cpp/app_templates/noatunvisual/plugin_impl.h
index a95845c9..2a7de7b1 100644
--- a/languages/cpp/app_templates/noatunvisual/plugin_impl.h
+++ b/languages/cpp/app_templates/noatunvisual/plugin_impl.h
@@ -58,7 +58,7 @@ protected:
void setupPalette(double dummy=0.0);
/** Draw everything. */
- void tqrepaint();
+ void repaint();
private:
/** used for pipelining */
diff --git a/languages/cpp/app_templates/opieapp/examplebase.ui b/languages/cpp/app_templates/opieapp/examplebase.ui
index 90d39d17..b6b81b11 100644
--- a/languages/cpp/app_templates/opieapp/examplebase.ui
+++ b/languages/cpp/app_templates/opieapp/examplebase.ui
@@ -7,7 +7,7 @@
<cstring>%{APPNAME}Base</cstring>
</property>
<property stdset="1">
- <name>tqgeometry</name>
+ <name>geometry</name>
<rect>
<x>0</x>
<y>0</y>
diff --git a/languages/cpp/app_templates/prc-tool/palmhello.c b/languages/cpp/app_templates/prc-tool/palmhello.c
index 0a34b6c4..b09f5f74 100644
--- a/languages/cpp/app_templates/prc-tool/palmhello.c
+++ b/languages/cpp/app_templates/prc-tool/palmhello.c
@@ -22,7 +22,7 @@ static Boolean MainFormHandleEvent (EventPtr e)
break;
case menuEvent:
- MenuEraseStatus(NULL);
+ MenuErasetStatus(NULL);
switch(e->data.menu.itemID) {
}
diff --git a/languages/cpp/app_templates/qmakeapp/qmakeapp.cpp b/languages/cpp/app_templates/qmakeapp/qmakeapp.cpp
index 4b78645a..0dabf861 100644
--- a/languages/cpp/app_templates/qmakeapp/qmakeapp.cpp
+++ b/languages/cpp/app_templates/qmakeapp/qmakeapp.cpp
@@ -159,7 +159,7 @@ void %{APPNAME}::load( const TQString &fileName )
e->setText( ts.read() );
e->setModified( FALSE );
setCaption( fileName );
- statusBar()->message( tr("Loaded document %1").tqarg(fileName), 2000 );
+ statusBar()->message( tr("Loaded document %1").arg(fileName), 2000 );
}
@@ -173,7 +173,7 @@ void %{APPNAME}::save()
TQString text = e->text();
TQFile f( filename );
if ( !f.open( IO_WriteOnly ) ) {
- statusBar()->message( tr("Could not write to %1").tqarg(filename),
+ statusBar()->message( tr("Could not write to %1").arg(filename),
2000 );
return;
}
@@ -186,7 +186,7 @@ void %{APPNAME}::save()
setCaption( filename );
- statusBar()->message( tr( "File %1 saved" ).tqarg( filename ), 2000 );
+ statusBar()->message( tr( "File %1 saved" ).arg( filename ), 2000 );
}
diff --git a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.cpp b/languages/cpp/app_templates/qt4makeapp/qt4makeapp.cpp
index f2178d9d..c3a8964f 100644
--- a/languages/cpp/app_templates/qt4makeapp/qt4makeapp.cpp
+++ b/languages/cpp/app_templates/qt4makeapp/qt4makeapp.cpp
@@ -223,8 +223,8 @@ void %{APPNAME}::loadFile(const TQString &fileName)
if (!file.open(TQFile::ReadOnly | TQFile::Text)) {
TQMessageBox::warning(this, tr("Application"),
tr("Cannot read file %1:\n%2.")
- .tqarg(fileName)
- .tqarg(file.errorString()));
+ .arg(fileName)
+ .arg(file.errorString()));
return;
}
@@ -243,8 +243,8 @@ bool %{APPNAME}::saveFile(const TQString &fileName)
if (!file.open(TQFile::WriteOnly | TQFile::Text)) {
TQMessageBox::warning(this, tr("Application"),
tr("Cannot write file %1:\n%2.")
- .tqarg(fileName)
- .tqarg(file.errorString()));
+ .arg(fileName)
+ .arg(file.errorString()));
return false;
}
@@ -270,7 +270,7 @@ void %{APPNAME}::setCurrentFile(const TQString &fileName)
else
shownName = strippedName(curFile);
- setWindowTitle(tr("%1[*] - %2").tqarg(shownName).tqarg(tr("Application")));
+ setWindowTitle(tr("%1[*] - %2").arg(shownName).arg(tr("Application")));
}
TQString %{APPNAME}::strippedName(const TQString &fullFileName)
diff --git a/languages/cpp/app_templates/qtopiaapp/examplebase.ui b/languages/cpp/app_templates/qtopiaapp/examplebase.ui
index 90d39d17..b6b81b11 100644
--- a/languages/cpp/app_templates/qtopiaapp/examplebase.ui
+++ b/languages/cpp/app_templates/qtopiaapp/examplebase.ui
@@ -7,7 +7,7 @@
<cstring>%{APPNAME}Base</cstring>
</property>
<property stdset="1">
- <name>tqgeometry</name>
+ <name>geometry</name>
<rect>
<x>0</x>
<y>0</y>