diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:23:31 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-20 05:10:19 +0200 |
commit | 057df7da652d6435173fa99255bbb7bb82848211 (patch) | |
tree | c8986cc4a6106f588a7701ce4c6be61fa5bff998 /kapptemplate/kapp | |
parent | 611a40e79abddb288f87ac74632a34e4f9566726 (diff) | |
download | tdesdk-057df7da652d6435173fa99255bbb7bb82848211.tar.gz tdesdk-057df7da652d6435173fa99255bbb7bb82848211.zip |
Rename obsolete tq methods to standard names
(cherry picked from commit 36b1e019b76f39cca8fc81f6d4df544f1c94c179)
Diffstat (limited to 'kapptemplate/kapp')
-rw-r--r-- | kapptemplate/kapp/apppref.cpp | 8 | ||||
-rw-r--r-- | kapptemplate/kapp/appview.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/kapptemplate/kapp/apppref.cpp b/kapptemplate/kapp/apppref.cpp index 8716b3e0..6a479b83 100644 --- a/kapptemplate/kapp/apppref.cpp +++ b/kapptemplate/kapp/apppref.cpp @@ -25,8 +25,8 @@ ${APP_NAME}Preferences::${APP_NAME}Preferences() ${APP_NAME}PrefPageOne::${APP_NAME}PrefPageOne(TQWidget *parent) : TQFrame(parent) { - TQHBoxLayout *tqlayout = new TQHBoxLayout(this); - tqlayout->setAutoAdd(true); + TQHBoxLayout *layout = new TQHBoxLayout(this); + layout->setAutoAdd(true); new TQLabel("Add something here", this); } @@ -34,8 +34,8 @@ ${APP_NAME}PrefPageOne::${APP_NAME}PrefPageOne(TQWidget *parent) ${APP_NAME}PrefPageTwo::${APP_NAME}PrefPageTwo(TQWidget *parent) : TQFrame(parent) { - TQHBoxLayout *tqlayout = new TQHBoxLayout(this); - tqlayout->setAutoAdd(true); + TQHBoxLayout *layout = new TQHBoxLayout(this); + layout->setAutoAdd(true); new TQLabel("Add something here", this); } diff --git a/kapptemplate/kapp/appview.cpp b/kapptemplate/kapp/appview.cpp index bc923619..3527596b 100644 --- a/kapptemplate/kapp/appview.cpp +++ b/kapptemplate/kapp/appview.cpp @@ -16,7 +16,7 @@ ${APP_NAME}View::${APP_NAME}View(TQWidget *parent) : TQWidget(parent), DCOPObject("${APP_NAME}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); |