diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /kjsembed/docs/embedding/qtembed | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'kjsembed/docs/embedding/qtembed')
-rw-r--r-- | kjsembed/docs/embedding/qtembed/main.cpp | 2 | ||||
-rwxr-xr-x | kjsembed/docs/embedding/qtembed/posviewbase.ui | 20 | ||||
-rw-r--r-- | kjsembed/docs/embedding/qtembed/posviewimp.cpp | 2 | ||||
-rw-r--r-- | kjsembed/docs/embedding/qtembed/posviewimp.h | 2 | ||||
-rw-r--r-- | kjsembed/docs/embedding/qtembed/test.js | 2 | ||||
-rwxr-xr-x | kjsembed/docs/embedding/qtembed/view.ui | 18 |
6 files changed, 23 insertions, 23 deletions
diff --git a/kjsembed/docs/embedding/qtembed/main.cpp b/kjsembed/docs/embedding/qtembed/main.cpp index fbf8541b..78808aac 100644 --- a/kjsembed/docs/embedding/qtembed/main.cpp +++ b/kjsembed/docs/embedding/qtembed/main.cpp @@ -10,7 +10,7 @@ int main ( int argc, char ** argv ) { - TQApplication app( argc, argv ); + TTQApplication app( argc, argv ); POSViewImp *view = new POSViewImp; app.setMainWidget(view); view->show(); diff --git a/kjsembed/docs/embedding/qtembed/posviewbase.ui b/kjsembed/docs/embedding/qtembed/posviewbase.ui index 9d8bad1a..4916d505 100755 --- a/kjsembed/docs/embedding/qtembed/posviewbase.ui +++ b/kjsembed/docs/embedding/qtembed/posviewbase.ui @@ -1,6 +1,6 @@ <!DOCTYPE UI><UI version="3.3" stdsetdef="1"> <class>POSViewBase</class> -<widget class="QDialog"> +<widget class="TQDialog"> <property name="name"> <cstring>POSViewBase</cstring> </property> @@ -22,7 +22,7 @@ <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> <cstring>layout3</cstring> </property> @@ -30,7 +30,7 @@ <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QFrame"> + <widget class="TQFrame"> <property name="name"> <cstring>appFrame</cstring> </property> @@ -49,7 +49,7 @@ <enum>Raised</enum> </property> </widget> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> <cstring>layout2</cstring> </property> @@ -57,7 +57,7 @@ <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QLabel"> + <widget class="TQLabel"> <property name="name"> <cstring>textLabel2</cstring> </property> @@ -65,7 +65,7 @@ <string>Recipt</string> </property> </widget> - <widget class="QTextBrowser"> + <widget class="TQTextBrowser"> <property name="name"> <cstring>recipt</cstring> </property> @@ -85,7 +85,7 @@ </widget> </hbox> </widget> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> <cstring>Layout1</cstring> </property> @@ -99,7 +99,7 @@ <property name="spacing"> <number>6</number> </property> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>buttonHelp</cstring> </property> @@ -130,7 +130,7 @@ </size> </property> </spacer> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>buttonOk</cstring> </property> @@ -147,7 +147,7 @@ <bool>true</bool> </property> </widget> - <widget class="QPushButton"> + <widget class="TQPushButton"> <property name="name"> <cstring>buttonCancel</cstring> </property> diff --git a/kjsembed/docs/embedding/qtembed/posviewimp.cpp b/kjsembed/docs/embedding/qtembed/posviewimp.cpp index a9c3c289..118e471b 100644 --- a/kjsembed/docs/embedding/qtembed/posviewimp.cpp +++ b/kjsembed/docs/embedding/qtembed/posviewimp.cpp @@ -14,7 +14,7 @@ #include <tqdatetime.h> #include <tqcolor.h> -POSViewImp::POSViewImp(TQWidget *parent, const char *name) +POSViewImp::POSViewImp(TTQWidget *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 764ac813..2bb0df9c 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( TQWidget *parent = 0, const char *name = 0 ); + POSViewImp( TTQWidget *parent = 0, const char *name = 0 ); public slots: void loadScript(); diff --git a/kjsembed/docs/embedding/qtembed/test.js b/kjsembed/docs/embedding/qtembed/test.js index 7a5c3bc0..f8e19742 100644 --- a/kjsembed/docs/embedding/qtembed/test.js +++ b/kjsembed/docs/embedding/qtembed/test.js @@ -1,3 +1,3 @@ -var vbox = new QVBoxLayout( appFrame ); +var vbox = new TQVBoxLayout( appFrame ); var view = Factory.loadui("view.ui", appFrame, appFrame ); view.show();
\ No newline at end of file diff --git a/kjsembed/docs/embedding/qtembed/view.ui b/kjsembed/docs/embedding/qtembed/view.ui index c714ff00..2f3eaa01 100755 --- a/kjsembed/docs/embedding/qtembed/view.ui +++ b/kjsembed/docs/embedding/qtembed/view.ui @@ -1,6 +1,6 @@ <!DOCTYPE UI><UI version="3.3" stdsetdef="1"> <class>view</class> -<widget class="QWidget"> +<widget class="TQWidget"> <property name="name"> <cstring>view</cstring> </property> @@ -16,7 +16,7 @@ <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> <cstring>layout1</cstring> </property> @@ -24,17 +24,17 @@ <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QLineEdit" row="1" column="1"> + <widget class="TQLineEdit" row="1" column="1"> <property name="name"> <cstring>mSKU</cstring> </property> </widget> - <widget class="QLineEdit" row="2" column="1"> + <widget class="TQLineEdit" row="2" column="1"> <property name="name"> <cstring>mPrice</cstring> </property> </widget> - <widget class="QLabel" row="1" column="0"> + <widget class="TQLabel" row="1" column="0"> <property name="name"> <cstring>textLabel2</cstring> </property> @@ -42,7 +42,7 @@ <string>SKU:</string> </property> </widget> - <widget class="QLabel" row="2" column="0"> + <widget class="TQLabel" row="2" column="0"> <property name="name"> <cstring>textLabel3</cstring> </property> @@ -50,7 +50,7 @@ <string>Price:</string> </property> </widget> - <widget class="QLabel" row="0" column="0"> + <widget class="TQLabel" row="0" column="0"> <property name="name"> <cstring>textLabel1</cstring> </property> @@ -58,7 +58,7 @@ <string>Product:</string> </property> </widget> - <widget class="QComboBox" row="0" column="1"> + <widget class="TQComboBox" row="0" column="1"> <property name="name"> <cstring>mProduct</cstring> </property> @@ -68,7 +68,7 @@ </widget> </grid> </widget> - <widget class="QLabel"> + <widget class="TQLabel"> <property name="name"> <cstring>mImage</cstring> </property> |