summaryrefslogtreecommitdiffstats
path: root/config/kstyle_baghira_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config/kstyle_baghira_config.h')
-rw-r--r--config/kstyle_baghira_config.h88
1 files changed, 44 insertions, 44 deletions
diff --git a/config/kstyle_baghira_config.h b/config/kstyle_baghira_config.h
index 35830dd..df97cc3 100644
--- a/config/kstyle_baghira_config.h
+++ b/config/kstyle_baghira_config.h
@@ -22,34 +22,34 @@
#define _KSTYLE_BAGHIRA_CONFIG_H_
//#include <kcmodule.h>
-#include <qcolor.h>
-#include <qimage.h>
+#include <tqcolor.h>
+#include <tqimage.h>
#include <kaboutdata.h>
#include "configdialog.h"
#include "help.h"
#include "about.h"
class KListView;
-class QPushButton;
+class TQPushButton;
class AppSetter;
-class QTimer;
-class QCheckBox;
-class QComboBox;
-class QGroupBox;
+class TQTimer;
+class TQCheckBox;
+class TQComboBox;
+class TQGroupBox;
-class kstyle_baghira_config: public QWidget
+class kstyle_baghira_config: public TQWidget
{
Q_OBJECT
public:
- kstyle_baghira_config( QWidget *parent=0, const char *name=0, const QStringList& = QStringList() );
+ kstyle_baghira_config( TQWidget *parent=0, const char *name=0, const TQStringList& = TQStringList() );
~kstyle_baghira_config();
virtual void load();
- void load(QString &fileName);
- void save(QString &fileName);
+ void load(TQString &fileName);
+ void save(TQString &fileName);
// virtual int buttons();
- virtual QString quickHelp() const;
+ virtual TQString quickHelp() const;
virtual const KAboutData *aboutData()const
{ return myAboutData; };
@@ -70,39 +70,39 @@ public slots:
signals:
void changed(bool);
- void editApp(QString, QString);
+ void editApp(TQString, TQString);
protected:
- bool eventFilter( QObject* o, QEvent* e );
+ bool eventFilter( TQObject* o, TQEvent* e );
private:
- QString crNotes[3];
+ TQString crNotes[3];
AppSetter *appsetter;
KListView *applist;
- QImage* tintButton(QImage &src, QColor c);
- QImage* tintBrush( QImage &img, QColor c/*, int saturation*/ );
+ TQImage* tintButton(TQImage &src, TQColor c);
+ TQImage* tintBrush( TQImage &img, TQColor c/*, int saturation*/ );
WId findWindow();
KAboutData *myAboutData;
Config *dialog_;
Help* help_;
About* about_;
- QImage baseImage, baseImage2;
- QDialog *grabber;
- QColor buttonColor;
- QColor brushTint;
+ TQImage baseImage, baseImage2;
+ TQDialog *grabber;
+ TQColor buttonColor;
+ TQColor brushTint;
int sliderButtonRedValue, sliderButtonGreenValue, sliderButtonBlueValue;
int sliderBrushRedValue, sliderBrushGreenValue, sliderBrushBlueValue/*, sliderBrushSaturationValue*/;
bool loadDone;
bool menuReplaced;
- QTimer *timer;
+ TQTimer *timer;
int crCurrent;
private slots:
void updateCR();
void showAbout();
void editApp();
- void addApp(QString, QString);
+ void addApp(TQString, TQString);
void removeApp();
- void removeApp(QString);
+ void removeApp(TQString);
void setDesign(int);
void menuToggled(bool);
void enableInButtonColor(int d);
@@ -111,45 +111,45 @@ private slots:
void buttonSaveAsAction();
void setPresetColor(int i);
void selectWindow();
- void changeTooluttonHighlightColor(const QColor &);
+ void changeTooluttonHighlightColor(const TQColor &);
void handleButtonStyles(int i);
};
class ColorDialog;
-class AppSetter : public QWidget
+class AppSetter : public TQWidget
{
Q_OBJECT
public:
- AppSetter(QWidget *parent=0, const char *name=0);
+ AppSetter(TQWidget *parent=0, const char *name=0);
~AppSetter();
public slots:
void show();
- void show(QString appName, QString link);
+ void show(TQString appName, TQString link);
private:
bool isEdit;
int index_;
int colors[8];
- QString oldName;
- QString oldLink;
- QLineEdit *command;
- QComboBox *link;
- QGroupBox *box;
- QComboBox *style;
- QComboBox *deco;
- QComboBox *buttons;
- QComboBox *toolButtons;
- QComboBox *tabs;
- QComboBox *inbutton;
- QCheckBox *scanlines;
- QCheckBox *customColors;
- QPushButton *buttonColors;
+ TQString oldName;
+ TQString oldLink;
+ TQLineEdit *command;
+ TQComboBox *link;
+ TQGroupBox *box;
+ TQComboBox *style;
+ TQComboBox *deco;
+ TQComboBox *buttons;
+ TQComboBox *toolButtons;
+ TQComboBox *tabs;
+ TQComboBox *inbutton;
+ TQCheckBox *scanlines;
+ TQCheckBox *customColors;
+ TQPushButton *buttonColors;
ColorDialog *colorDialog;
signals:
- void addApp(QString, QString);
- void removeApp(QString);
+ void addApp(TQString, TQString);
+ void removeApp(TQString);
private slots:
void save();