diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 10:00:09 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 10:00:09 -0600 |
commit | 3b34e5cf56262c9f54a3bcf02ee5ad93ca0fb05b (patch) | |
tree | 4405f233f4b0eee7f4ad3d265a5584c9ce681011 /kapptemplate | |
parent | d6331f1b56eb6dca7a1950658b2932f208015da0 (diff) | |
download | tdesdk-3b34e5cf56262c9f54a3bcf02ee5ad93ca0fb05b.tar.gz tdesdk-3b34e5cf56262c9f54a3bcf02ee5ad93ca0fb05b.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit d6331f1b56eb6dca7a1950658b2932f208015da0.
Diffstat (limited to 'kapptemplate')
-rw-r--r-- | kapptemplate/kapp/apppref.cpp | 10 | ||||
-rw-r--r-- | kapptemplate/kapp/appview.cpp | 4 | ||||
-rw-r--r-- | kapptemplate/kpartapp/app_part.cpp | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/kapptemplate/kapp/apppref.cpp b/kapptemplate/kapp/apppref.cpp index 4bee58ac..8716b3e0 100644 --- a/kapptemplate/kapp/apppref.cpp +++ b/kapptemplate/kapp/apppref.cpp @@ -4,7 +4,7 @@ cat << EOF > $LOCATION_ROOT/${APP_NAME_LC}/${APP_NAME_LC}pref.cpp #include <klocale.h> -#include <layout.h> +#include <tqlayout.h> #include <tqlabel.h> ${APP_NAME}Preferences::${APP_NAME}Preferences() @@ -25,8 +25,8 @@ ${APP_NAME}Preferences::${APP_NAME}Preferences() ${APP_NAME}PrefPageOne::${APP_NAME}PrefPageOne(TQWidget *parent) : TQFrame(parent) { - TQHBoxLayout *layout = new TQHBoxLayout(this); - layout->setAutoAdd(true); + TQHBoxLayout *tqlayout = new TQHBoxLayout(this); + tqlayout->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 *layout = new TQHBoxLayout(this); - layout->setAutoAdd(true); + TQHBoxLayout *tqlayout = new TQHBoxLayout(this); + tqlayout->setAutoAdd(true); new TQLabel("Add something here", this); } diff --git a/kapptemplate/kapp/appview.cpp b/kapptemplate/kapp/appview.cpp index 9b62b749..bc923619 100644 --- a/kapptemplate/kapp/appview.cpp +++ b/kapptemplate/kapp/appview.cpp @@ -3,7 +3,7 @@ cat << EOF > $LOCATION_ROOT/${APP_NAME_LC}/${APP_NAME_LC}view.cpp #include "${APP_NAME_LC}view.h" #include <tqpainter.h> -#include <layout.h> +#include <tqlayout.h> #include <kurl.h> @@ -16,7 +16,7 @@ ${APP_NAME}View::${APP_NAME}View(TQWidget *parent) : TQWidget(parent), DCOPObject("${APP_NAME}Iface") { - // setup our layout manager to automatically add our widgets + // setup our tqlayout manager to automatically add our widgets TQHBoxLayout *top_layout = new TQHBoxLayout(this); top_layout->setAutoAdd(true); diff --git a/kapptemplate/kpartapp/app_part.cpp b/kapptemplate/kpartapp/app_part.cpp index 40390ed1..adbda9db 100644 --- a/kapptemplate/kpartapp/app_part.cpp +++ b/kapptemplate/kpartapp/app_part.cpp @@ -11,7 +11,7 @@ cat << EOF > $LOCATION_ROOT/${APP_NAME_LC}/${APP_NAME_LC}_part.cpp #include <kparts/genericfactory.h> #include <tqfile.h> -#include <textstream.h> +#include <tqtextstream.h> #include <tqmultilineedit.h> typedef KParts::GenericFactory<${APP_NAME}Part> ${APP_NAME}PartFactory; |