diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
commit | 479f5f799523bffbcc83dff581a2299c047c6fff (patch) | |
tree | 186aae707ed02aac6c7cab2fb14e97f72aca5e36 /kjsembed/docs/embedding/qtembed | |
parent | f1dbff6145c98324ff82e34448b7483727e8ace4 (diff) | |
download | tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.tar.gz tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kjsembed/docs/embedding/qtembed')
-rw-r--r-- | kjsembed/docs/embedding/qtembed/main.cpp | 4 | ||||
-rw-r--r-- | kjsembed/docs/embedding/qtembed/posviewimp.cpp | 8 | ||||
-rw-r--r-- | kjsembed/docs/embedding/qtembed/posviewimp.h | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/kjsembed/docs/embedding/qtembed/main.cpp b/kjsembed/docs/embedding/qtembed/main.cpp index b2d7d3d1..fbf8541b 100644 --- a/kjsembed/docs/embedding/qtembed/main.cpp +++ b/kjsembed/docs/embedding/qtembed/main.cpp @@ -5,12 +5,12 @@ // // -#include <qapplication.h> +#include <tqapplication.h> #include "posviewimp.h" int main ( int argc, char ** argv ) { - QApplication app( argc, argv ); + TQApplication app( argc, argv ); POSViewImp *view = new POSViewImp; app.setMainWidget(view); view->show(); diff --git a/kjsembed/docs/embedding/qtembed/posviewimp.cpp b/kjsembed/docs/embedding/qtembed/posviewimp.cpp index 7d4aebc9..a9c3c289 100644 --- a/kjsembed/docs/embedding/qtembed/posviewimp.cpp +++ b/kjsembed/docs/embedding/qtembed/posviewimp.cpp @@ -10,11 +10,11 @@ #include <kjsembed/jsconsolewidget.h> #include <kjsembed/jsbinding.h> -#include <qgroupbox.h> -#include <qdatetime.h> -#include <qcolor.h> +#include <tqgroupbox.h> +#include <tqdatetime.h> +#include <tqcolor.h> -POSViewImp::POSViewImp(QWidget *parent, const char *name) +POSViewImp::POSViewImp(TQWidget *parent, const char *name) :POSViewBase(parent, name) { m_part = new KJSEmbed::KJSEmbedPart(0, "kjsembed_part", this,"JSEmbed"); diff --git a/kjsembed/docs/embedding/qtembed/posviewimp.h b/kjsembed/docs/embedding/qtembed/posviewimp.h index 3fce0965..764ac813 100644 --- a/kjsembed/docs/embedding/qtembed/posviewimp.h +++ b/kjsembed/docs/embedding/qtembed/posviewimp.h @@ -15,7 +15,7 @@ namespace KJSEmbed { class POSViewImp: public POSViewBase { Q_OBJECT public: - POSViewImp( QWidget *parent = 0, const char *name = 0 ); + POSViewImp( TQWidget *parent = 0, const char *name = 0 ); public slots: void loadScript(); |