summaryrefslogtreecommitdiffstats
path: root/config/qtcurveconfig.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-24 20:24:04 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-24 20:24:04 -0600
commitf21c6e30665e28ac55ae6895aad83e177585ce01 (patch)
tree4fb1494d42d48c9c0107cfefbd694ae3060697fc /config/qtcurveconfig.h
parente9d913d6017e67dd60f27d704c470e21425cd362 (diff)
downloadtde-style-qtcurve-f21c6e30665e28ac55ae6895aad83e177585ce01.tar.gz
tde-style-qtcurve-f21c6e30665e28ac55ae6895aad83e177585ce01.zip
TQt conversion of config module
Diffstat (limited to 'config/qtcurveconfig.h')
-rw-r--r--config/qtcurveconfig.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/config/qtcurveconfig.h b/config/qtcurveconfig.h
index 04d34cb..8f30733 100644
--- a/config/qtcurveconfig.h
+++ b/config/qtcurveconfig.h
@@ -2,7 +2,7 @@
#define __QTCURVECONFIG_H__
/*
- QtCurve (C) Craig Drummond, 2003 - 2010 craig.p.drummond@gmail.com
+ TQtCurve (C) Craig Drummond, 2003 - 2010 craig.p.drummond@gmail.com
----
@@ -25,51 +25,51 @@
#define CONFIG_DIALOG
#include <qtcurveconfigbase.h>
-#include <qcombobox.h>
-#include <qmap.h>
+#include <tqcombobox.h>
+#include <tqmap.h>
#include "common.h"
-class QPopupMenu;
-class QListViewItem;
+class TQPopupMenu;
+class TQListViewItem;
class KDoubleNumInput;
-#ifdef QTC_STYLE_SUPPORT
+#ifdef TQTC_STYLE_SUPPORT
class CExportThemeDialog;
#endif
class CStackItem;
-class QtCurveConfig;
+class TQtCurveConfig;
-class CGradientPreview : public QWidget
+class CGradientPreview : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
- CGradientPreview(QtCurveConfig *c, QWidget *p);
+ CGradientPreview(TQtCurveConfig *c, TQWidget *p);
- QSize sizeHint() const;
- QSize minimumSizeHint() const;
+ TQSize sizeHint() const;
+ TQSize minimumSizeHint() const;
void paintEvent(QPaintEvent *);
void setGrad(const GradientStopCont &s);
public slots:
- void setColor(const QColor &col);
+ void setColor(const TQColor &col);
private:
- QtCurveConfig *cfg;
- QColor color;
+ TQtCurveConfig *cfg;
+ TQColor color;
GradientStopCont stops;
};
-class QtCurveConfig : public QtCurveConfigBase
+class TQtCurveConfig : public TQtCurveConfigBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
- QtCurveConfig(QWidget *parent);
- virtual ~QtCurveConfig();
+ TQtCurveConfig(QWidget *parent);
+ virtual ~TQtCurveConfig();
EShading currentShading() const { return (EShading)shading->currentItem(); }
@@ -132,7 +132,7 @@ class QtCurveConfig : public QtCurveConfigBase
void populateShades(const Options &opts);
bool diffShades(const Options &opts);
void setPasswordChar(int ch);
- void loadStyle(const QString &file);
+ void loadStyle(const TQString &file);
void setOptions(Options &opts);
void setWidgetOptions(const Options &opts);
int getSquareFlags();
@@ -143,8 +143,8 @@ class QtCurveConfig : public QtCurveConfigBase
Options currentStyle,
defaultStyle;
- QMap<int, QString> styles;
-#ifdef QTC_STYLE_SUPPORT
+ TQMap<int, TQString> styles;
+#ifdef TQTC_STYLE_SUPPORT
CExportThemeDialog *exportDialog;
#endif
CGradientPreview *gradPreview;