diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:24:21 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-23 19:35:21 +0200 |
commit | 39d7cb00553d01cea32bfd52fa406aac15742ba0 (patch) | |
tree | 5c385fb00eec3e82327af85dca39e730faa5cebe /languages/cpp/app_templates | |
parent | ec049c7c32d50faf317b13d5c844a19978881fc3 (diff) | |
download | tdevelop-39d7cb00553d01cea32bfd52fa406aac15742ba0.tar.gz tdevelop-39d7cb00553d01cea32bfd52fa406aac15742ba0.zip |
Rename obsolete tq methods to standard names
(cherry picked from commit abcbb684982167791304dc2fe0bc979489506b43)
Diffstat (limited to 'languages/cpp/app_templates')
7 files changed, 14 insertions, 14 deletions
diff --git a/languages/cpp/app_templates/kapp/appview.cpp b/languages/cpp/app_templates/kapp/appview.cpp index 5f9d906a..32afca2e 100644 --- a/languages/cpp/app_templates/kapp/appview.cpp +++ b/languages/cpp/app_templates/kapp/appview.cpp @@ -17,7 +17,7 @@ : TQWidget(parent), DCOPObject("%{APPNAME}Iface") { - // setup our tqlayout manager to automatically add our widgets + // setup our layout manager to automatically add our widgets TQHBoxLayout *top_layout = new TQHBoxLayout(this); top_layout->setAutoAdd(true); diff --git a/languages/cpp/app_templates/kapp/pref.cpp b/languages/cpp/app_templates/kapp/pref.cpp index 673df14e..ff83190f 100644 --- a/languages/cpp/app_templates/kapp/pref.cpp +++ b/languages/cpp/app_templates/kapp/pref.cpp @@ -25,8 +25,8 @@ %{APPNAME}PrefPageOne::%{APPNAME}PrefPageOne(TQWidget *parent) : TQFrame(parent) { - TQHBoxLayout *tqlayout = new TQHBoxLayout(this); - tqlayout->setAutoAdd(true); + TQHBoxLayout *layout = new TQHBoxLayout(this); + layout->setAutoAdd(true); new TQLabel(i18n("Add something here"), this); } @@ -34,8 +34,8 @@ %{APPNAME}PrefPageTwo::%{APPNAME}PrefPageTwo(TQWidget *parent) : TQFrame(parent) { - TQHBoxLayout *tqlayout = new TQHBoxLayout(this); - tqlayout->setAutoAdd(true); + TQHBoxLayout *layout = new TQHBoxLayout(this); + layout->setAutoAdd(true); new TQLabel(i18n("Add something here"), this); } diff --git a/languages/cpp/app_templates/kde4app/kapp4view_base.ui b/languages/cpp/app_templates/kde4app/kapp4view_base.ui index f85bd963..6738a789 100644 --- a/languages/cpp/app_templates/kde4app/kapp4view_base.ui +++ b/languages/cpp/app_templates/kde4app/kapp4view_base.ui @@ -15,7 +15,7 @@ <property name="autoFillBackground" > <bool>true</bool> </property> - <tqlayout class="TQGridLayout" > + <layout class="TQGridLayout" > <property name="leftMargin" > <number>11</number> </property> @@ -204,7 +204,7 @@ </property> </widget> </item> - </tqlayout> + </layout> </widget> <layoutdefault spacing="6" margin="11" /> <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> diff --git a/languages/cpp/app_templates/kde4app/prefs_base.ui b/languages/cpp/app_templates/kde4app/prefs_base.ui index 3a78c979..87a191f1 100644 --- a/languages/cpp/app_templates/kde4app/prefs_base.ui +++ b/languages/cpp/app_templates/kde4app/prefs_base.ui @@ -9,7 +9,7 @@ <height>156</height> </rect> </property> - <tqlayout class="TQGridLayout" > + <layout class="TQGridLayout" > <item row="0" column="0" > <widget class="TQLabel" name="textLabel2_2" > <property name="text" > @@ -136,7 +136,7 @@ p, li { white-space: pre-wrap; } </property> </spacer> </item> - </tqlayout> + </layout> </widget> <layoutdefault spacing="6" margin="11" /> <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> diff --git a/languages/cpp/app_templates/kscons_kmdi/appkmdiView.cpp b/languages/cpp/app_templates/kscons_kmdi/appkmdiView.cpp index 006b844e..d7c00001 100644 --- a/languages/cpp/app_templates/kscons_kmdi/appkmdiView.cpp +++ b/languages/cpp/app_templates/kscons_kmdi/appkmdiView.cpp @@ -35,9 +35,9 @@ part()->widget()->setFocus(); setFocusProxy(part()->widget()); - TQBoxLayout* tqlayout = new TQHBoxLayout(this, 0, -1, "kdissertviewtqlayout" ); + TQBoxLayout* layout = new TQHBoxLayout(this, 0, -1, "kdissertviewlayout" ); part()->widget()->reparent( this, TQPoint(0, 0) ); - tqlayout->addWidget( part()->widget() ); + layout->addWidget( part()->widget() ); // connect( m_part, TQT_SIGNAL(stateChanged()), this, TQT_SLOT(updateCaption()) ); } diff --git a/languages/cpp/app_templates/opieinput/simpleimpl.cpp b/languages/cpp/app_templates/opieinput/simpleimpl.cpp index 6a7bef4f..a4c2e177 100644 --- a/languages/cpp/app_templates/opieinput/simpleimpl.cpp +++ b/languages/cpp/app_templates/opieinput/simpleimpl.cpp @@ -58,7 +58,7 @@ void %{APPNAME}::slotKey(int _ke){ /* * Send the key - * ke is the tqunicode + * ke is the unicode * _ke + 0x41 is the keycode * m_state Normally the state * down/up diff --git a/languages/cpp/app_templates/qtopia4app/examplebase.ui b/languages/cpp/app_templates/qtopia4app/examplebase.ui index 76e7d49f..107d4e96 100644 --- a/languages/cpp/app_templates/qtopia4app/examplebase.ui +++ b/languages/cpp/app_templates/qtopia4app/examplebase.ui @@ -15,7 +15,7 @@ <property name="windowTitle" > <string>%{APPNAME}</string> </property> - <tqlayout class="TQVBoxLayout" > + <layout class="TQVBoxLayout" > <property name="margin" > <number>11</number> </property> @@ -39,6 +39,6 @@ </property> </widget> </item> - </tqlayout> + </layout> </widget> </ui> |