summaryrefslogtreecommitdiffstats
path: root/quanta/components/framewizard/fmfpeditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/components/framewizard/fmfpeditor.cpp')
-rw-r--r--quanta/components/framewizard/fmfpeditor.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/quanta/components/framewizard/fmfpeditor.cpp b/quanta/components/framewizard/fmfpeditor.cpp
index cc262453..e2bfb44a 100644
--- a/quanta/components/framewizard/fmfpeditor.cpp
+++ b/quanta/components/framewizard/fmfpeditor.cpp
@@ -16,12 +16,12 @@
***************************************************************************/
#include "fmfpeditor.h"
-#include <qspinbox.h>
-#include <qlineedit.h>
-#include <qbuttongroup.h>
-#include <qregexp.h>
+#include <tqspinbox.h>
+#include <tqlineedit.h>
+#include <tqbuttongroup.h>
+#include <tqregexp.h>
#include <kurlrequester.h>
-#include <qstringlist.h>
+#include <tqstringlist.h>
#include <kfiledialog.h>
#include <klocale.h>
//#include <kpreviewwidgetbase.h>
@@ -33,11 +33,11 @@ fmFPeditor::fmFPeditor() : fmFPeditorS (){
sbLeft->setWrapping(true);
sbTop->setWrapping(true);
- QString htmlFiles = i18n("*.html *.htm|HTML Files");
- QString phpFiles = i18n("*.php|PHP Files");
- QString xmlFiles = i18n("*.xml|XML Files");
- QString xhtmlFiles = i18n("*xhtml|XHTML Files");
- QString allFiles = i18n("*|All Files");
+ TQString htmlFiles = i18n("*.html *.htm|HTML Files");
+ TQString phpFiles = i18n("*.php|PHP Files");
+ TQString xmlFiles = i18n("*.xml|XML Files");
+ TQString xhtmlFiles = i18n("*xhtml|XHTML Files");
+ TQString allFiles = i18n("*|All Files");
fc->setFilter(htmlFiles+"\n"+phpFiles+"\n"+xmlFiles+"\n"+xhtmlFiles+"\n"+allFiles);
@@ -45,14 +45,14 @@ fmFPeditor::fmFPeditor() : fmFPeditorS (){
fmFPeditor::~fmFPeditor(){
}
-QString fmFPeditor::noresizeValue() {
+TQString fmFPeditor::noresizeValue() {
switch(bgNoresize->id(bgNoresize->selected())){
case 0:return "";break;
default:return "noresize";
}
}
-QString fmFPeditor::scrollingValue() {
+TQString fmFPeditor::scrollingValue() {
switch(bgScrolling->id(bgScrolling->selected())){
case 0:return "yes";break;
case 2:return "no";break;
@@ -60,14 +60,14 @@ QString fmFPeditor::scrollingValue() {
}
}
-QString fmFPeditor::frameborderValue() {
+TQString fmFPeditor::frameborderValue() {
switch(bgBorder->id(bgBorder->selected())){
case 1:return "0"; break;
default:return "1";
}
}
-void fmFPeditor::setup(QMap<QString,QString> m){
+void fmFPeditor::setup(TQMap<TQString,TQString> m){
leId->setText(m["id"]);
fc->setURL(m["src"]);
leClass->setText(m["class"]);
@@ -89,8 +89,8 @@ void fmFPeditor::setup(QMap<QString,QString> m){
sbTop->setValue(m["marginheight"].toInt());
}
-QMap<QString,QString> fmFPeditor::attributeMap(){
- QMap<QString,QString> map;
+TQMap<TQString,TQString> fmFPeditor::attributeMap(){
+ TQMap<TQString,TQString> map;
map["name"] = leName->text();
map["longdesc"] = leLongdesc->text();
@@ -102,8 +102,8 @@ QMap<QString,QString> fmFPeditor::attributeMap(){
map["class"] = leClass->text();
map["noresize"] = noresizeValue();
map["frameborder"] = frameborderValue();
- map["marginwidth"] = QString::number( sbLeft->value(),10 );
- map["marginheight"] = QString::number( sbTop->value(),10 );
+ map["marginwidth"] = TQString::number( sbLeft->value(),10 );
+ map["marginheight"] = TQString::number( sbTop->value(),10 );
return map;
}