summaryrefslogtreecommitdiffstats
path: root/quanta/components/csseditor/csseditor.h
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/components/csseditor/csseditor.h')
-rw-r--r--quanta/components/csseditor/csseditor.h60
1 files changed, 30 insertions, 30 deletions
diff --git a/quanta/components/csseditor/csseditor.h b/quanta/components/csseditor/csseditor.h
index 6994a686..3bb44228 100644
--- a/quanta/components/csseditor/csseditor.h
+++ b/quanta/components/csseditor/csseditor.h
@@ -18,12 +18,12 @@
#ifndef CSSEDITOR_H
#define CSSEDITOR_H
-#include <qwidget.h>
+#include <tqwidget.h>
#include "csseditors.h"
-#include <qdom.h>
-#include <qmap.h>
-#include <qlistview.h>
-#include <qsignal.h>
+#include <tqdom.h>
+#include <tqmap.h>
+#include <tqlistview.h>
+#include <tqsignal.h>
class propertySetter;
class KConfig;
@@ -37,14 +37,14 @@ class QMyHighlighter;
class myCheckListItem : public QCheckListItem
{
private:
- QSignal *m_sig;
+ TQSignal *m_sig;
unsigned int m_checkedChildren;
public :
- myCheckListItem(QCheckListItem * parent, const QString & text);
- myCheckListItem(QListView * parent, const QString & text);
+ myCheckListItem(TQCheckListItem * parent, const TQString & text);
+ myCheckListItem(TQListView * parent, const TQString & text);
~myCheckListItem();
- void connect( QObject *receiver, const char *member );
+ void connect( TQObject *receiver, const char *member );
void addCheckedChild();
protected :
@@ -61,9 +61,9 @@ class CSSEditor : public CSSEditorS
propertySetter *m_ps;
myCheckListItem *m_currentProp;
KHTMLPart *m_previewer;
- QDomDocument m_doc;
- QMap<QString,QString> m_properties;
- QString m_selectorName,
+ TQDomDocument m_doc;
+ TQMap<TQString,TQString> m_properties;
+ TQString m_selectorName,
m_initialProperties,
m_Selectors,
m_Header,
@@ -79,36 +79,36 @@ class CSSEditor : public CSSEditorS
//sourceFileName;
void Connect();
- void appendSub(QDomNodeList, myCheckListItem *);
- void buildListView(QDomNodeList, QListView *);
+ void appendSub(TQDomNodeList, myCheckListItem *);
+ void buildListView(TQDomNodeList, TQListView *);
void updateDisplay();
void activatePreview();
- void setCurrentPropOn(const QString& s);
- void addProperty(const QString& property, const QString& value) { m_properties[property] = value; }
- void addAndSetPropertyOn(const QString& property, const QString& value);
- void setSidesOfPropertyBorderOn(const QString& s);
+ void setCurrentPropOn(const TQString& s);
+ void addProperty(const TQString& property, const TQString& value) { m_properties[property] = value; }
+ void addAndSetPropertyOn(const TQString& property, const TQString& value);
+ void setSidesOfPropertyBorderOn(const TQString& s);
private slots:
- void checkProperty(const QString&);
- void removeProperty(const QVariant&);
+ void checkProperty(const TQString&);
+ void removeProperty(const TQVariant&);
void updatePreview();
- void setMiniEditors(QListViewItem*);
+ void setMiniEditors(TQListViewItem*);
void toggleShortendForm();
public:
- CSSEditor(QWidget* parent=0, const char *name=0): CSSEditorS(parent, name), m_config(0L){}
- CSSEditor( QListViewItem * i, QWidget* parent=0, const char *name=0);
+ CSSEditor(TQWidget* parent=0, const char *name=0): CSSEditorS(parent, name), m_config(0L){}
+ CSSEditor( TQListViewItem * i, TQWidget* parent=0, const char *name=0);
~CSSEditor();
void initialize();
- void setSelectors( const QString& s) { m_Selectors = s; }
- void setHeader( const QString& s) { m_Header = s; }
- void setFooter( const QString& s) { m_Footer = s;}
- void setInlineStyleContent( const QString& s){ m_InlineStyleContent = s; }
- QString generateProperties();
+ void setSelectors( const TQString& s) { m_Selectors = s; }
+ void setHeader( const TQString& s) { m_Header = s; }
+ void setFooter( const TQString& s) { m_Footer = s;}
+ void setInlineStyleContent( const TQString& s){ m_InlineStyleContent = s; }
+ TQString generateProperties();
void hidePreviewer();
- void setFileToPreview(const QString& s,bool b) { m_fileToPreview = s; m_isFileToPreviewExternal = b;}
- void setExternalStyleSheetDefinition(const QString& s) { m_externalStyleSheetDefinition = s;}
+ void setFileToPreview(const TQString& s,bool b) { m_fileToPreview = s; m_isFileToPreviewExternal = b;}
+ void setExternalStyleSheetDefinition(const TQString& s) { m_externalStyleSheetDefinition = s;}
signals:
void signalUpdatePreview();