diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
commit | 5f5ee2367157176ed223b86343eb0a9e4022e020 (patch) | |
tree | 6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /ksim/ksim.cpp | |
parent | 4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff) | |
download | tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksim/ksim.cpp')
-rw-r--r-- | ksim/ksim.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ksim/ksim.cpp b/ksim/ksim.cpp index 86ea980..8a2b643 100644 --- a/ksim/ksim.cpp +++ b/ksim/ksim.cpp @@ -23,7 +23,7 @@ #include <ksimconfig.h> #include <common.h> -#include <qlayout.h> +#include <tqlayout.h> #include <kaboutapplication.h> #include <kbugreport.h> @@ -35,7 +35,7 @@ extern "C" { - KDE_EXPORT KPanelExtension *init(QWidget *parent, const QString &configFile) + KDE_EXPORT KPanelExtension *init(TQWidget *parent, const TQString &configFile) { KGlobal::locale()->insertCatalogue("ksim"); return new KSim::PanelExtension(configFile, KPanelExtension::Normal, @@ -45,8 +45,8 @@ extern "C" } } -KSim::PanelExtension::PanelExtension(const QString &configFile, - Type type, int actions, QWidget *parent, const char *name) +KSim::PanelExtension::PanelExtension(const TQString &configFile, + Type type, int actions, TQWidget *parent, const char *name) : KPanelExtension(configFile, type, actions, parent, name) { m_dcopClient = new DCOPClient; @@ -75,12 +75,12 @@ KSim::PanelExtension::~PanelExtension() delete m_dcopClient; } -QSize KSim::PanelExtension::sizeHint(Position p, QSize maxSize) const +TQSize KSim::PanelExtension::sizeHint(Position p, TQSize maxSize) const { return m_view->sizeHint(p, maxSize); } -void KSim::PanelExtension::resizeEvent(QResizeEvent *) +void KSim::PanelExtension::resizeEvent(TQResizeEvent *) { m_view->resize(size()); } |