diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /languages/cpp/app_templates/kde4app/kapp4view.cpp | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/cpp/app_templates/kde4app/kapp4view.cpp')
-rw-r--r-- | languages/cpp/app_templates/kde4app/kapp4view.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/languages/cpp/app_templates/kde4app/kapp4view.cpp b/languages/cpp/app_templates/kde4app/kapp4view.cpp index 256f6bcb..785a6858 100644 --- a/languages/cpp/app_templates/kde4app/kapp4view.cpp +++ b/languages/cpp/app_templates/kde4app/kapp4view.cpp @@ -3,9 +3,9 @@ #include "settings.h" #include <klocale.h> -#include <QtGui/QLabel> +#include <QtGui/TQLabel> -%{APPNAME}View::%{APPNAME}View(QWidget *) +%{APPNAME}View::%{APPNAME}View(TQWidget *) { ui_%{APPNAMELC}view_base.setupUi(this); settingsChanged(); @@ -20,7 +20,7 @@ void %{APPNAME}View::switchColors() { // switch the foreground/background colors of the label - QColor color = Settings::col_background(); + TQColor color = Settings::col_background(); Settings::setCol_background( Settings::col_foreground() ); Settings::setCol_foreground( color ); @@ -29,9 +29,9 @@ void %{APPNAME}View::switchColors() void %{APPNAME}View::settingsChanged() { - QPalette pal; - pal.setColor( QPalette::Window, Settings::col_background()); - pal.setColor( QPalette::WindowText, Settings::col_foreground()); + TQPalette pal; + pal.setColor( TQPalette::Window, Settings::col_background()); + pal.setColor( TQPalette::WindowText, Settings::col_foreground()); ui_%{APPNAMELC}view_base.kcfg_sillyLabel->setPalette( pal ); // i18n : internationalization |