summaryrefslogtreecommitdiffstats
path: root/quanta/components/csseditor/styleeditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/components/csseditor/styleeditor.cpp')
-rw-r--r--quanta/components/csseditor/styleeditor.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/quanta/components/csseditor/styleeditor.cpp b/quanta/components/csseditor/styleeditor.cpp
index 63d4af79..31f6788b 100644
--- a/quanta/components/csseditor/styleeditor.cpp
+++ b/quanta/components/csseditor/styleeditor.cpp
@@ -13,11 +13,11 @@
***************************************************************************/
//qt includes
-#include <qlineedit.h>
-#include <qtooltip.h>
-#include <qiconset.h>
-#include <qlabel.h>
-#include <qfileinfo.h>
+#include <tqlineedit.h>
+#include <tqtooltip.h>
+#include <tqiconset.h>
+#include <tqlabel.h>
+#include <tqfileinfo.h>
//kde includes
#include <kdialog.h>
@@ -39,11 +39,11 @@
#include "viewmanager.h"
#include "csseditor.h"
-StyleEditor::StyleEditor(QWidget *parent, const char* name) : TLPEditor(parent,name){
- connect(m_pb, SIGNAL(clicked()), this, SLOT(openCSSEditor()));
+StyleEditor::StyleEditor(TQWidget *parent, const char* name) : TLPEditor(parent,name){
+ connect(m_pb, TQT_SIGNAL(clicked()), this, TQT_SLOT(openCSSEditor()));
setToolTip(i18n("Open css dialog"));
- QIconSet iconSet = SmallIconSet(QString::fromLatin1("stylesheet"));
- QPixmap pixMap = iconSet.pixmap( QIconSet::Small, QIconSet::Normal );
+ TQIconSet iconSet = SmallIconSet(TQString::fromLatin1("stylesheet"));
+ TQPixmap pixMap = iconSet.pixmap( TQIconSet::Small, TQIconSet::Normal );
m_pb->setIconSet(iconSet);
m_iconWidth = pixMap.width();
m_iconHeight = pixMap.height();
@@ -73,18 +73,18 @@ void StyleEditor::openCSSEditor(){
if (styleNode->tag->type == Tag::XmlTagEnd && styleNode->prev)
styleNode = styleNode->prev;
- QString fullDocument = w->editIf->text().stripWhiteSpace();
+ TQString fullDocument = w->editIf->text().stripWhiteSpace();
if (styleNode && (styleNode->tag->type == Tag::XmlTag || styleNode->tag->type == Tag::Empty) ) {
CSSEditor *dlg = new CSSEditor(this);
- QFileInfo fi(ViewManager::ref()->currentURL());
+ TQFileInfo fi(ViewManager::ref()->currentURL());
dlg->setFileToPreview(Project::ref()->projectBaseURL().path() + fi.baseName(),false);
styleNode->tag->beginPos(bLine, bCol);
styleNode->tag->endPos(eLine, eCol);
dlg->setFooter(">" + w->text(eLine, eCol + 1, lastLine, lastCol));
- QString temp;
+ TQString temp;
if (styleNode->tag->hasAttribute("style")) {
dlg->setInlineStyleContent(styleNode->tag->attributeValue("style"));
Tag tempTag(*(styleNode->tag));
@@ -92,7 +92,7 @@ void StyleEditor::openCSSEditor(){
temp = tempTag.toString();
}
else {
- dlg->setInlineStyleContent(QString::null);
+ dlg->setInlineStyleContent(TQString::null);
temp = styleNode->tag->toString();
}