summaryrefslogtreecommitdiffstats
path: root/src/lmsensorswidget.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 09:59:06 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 09:59:06 -0500
commit24857cad8e92c27bc7d7377549ae887adbeccc58 (patch)
treee8aa2577506c17c68286ec1b65ae31b89ea0556b /src/lmsensorswidget.h
parentea3a9effca9bebfe18bfb7546da619ecbbb121f3 (diff)
downloadksensors-24857cad8e92c27bc7d7377549ae887adbeccc58.tar.gz
ksensors-24857cad8e92c27bc7d7377549ae887adbeccc58.zip
Convert to TDE R14 API
Diffstat (limited to 'src/lmsensorswidget.h')
-rw-r--r--src/lmsensorswidget.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/lmsensorswidget.h b/src/lmsensorswidget.h
index c331ad0..d65018a 100644
--- a/src/lmsensorswidget.h
+++ b/src/lmsensorswidget.h
@@ -18,8 +18,8 @@
#ifndef LMSENSORSWIDGET_H
#define LMSENSORSWIDGET_H
-#include <qwidget.h>
-#include <qpixmap.h>
+#include <ntqwidget.h>
+#include <ntqpixmap.h>
#include "lmsensors.h"
#include "lmsensorpanel.h"
@@ -29,17 +29,17 @@
*@author Miguel Novas
*/
-class LMSensorsWidget : public QWidget {
+class LMSensorsWidget : public TQWidget {
Q_OBJECT
public:
- LMSensorsWidget(LMSensors *lsensors,QWidget *parent=0, const char *name=0);
+ LMSensorsWidget(LMSensors *lsensors,TQWidget *parent=0, const char *name=0);
~LMSensorsWidget();
- static bool cfgReadPalette(QPalette &pal,const char *name=0, bool returnDefault= false);
- static void cfgWritePalette(const QPalette &pal,const char *name=0);
+ static bool cfgReadPalette(TQPalette &pal,const char *name=0, bool returnDefault= false);
+ static void cfgWritePalette(const TQPalette &pal,const char *name=0);
static void cfgUnsetPalette(const char *name=0);
- static void getDefaultPalette(QPalette &pal);
+ static void getDefaultPalette(TQPalette &pal);
static void cfgWritePanelSize(int newSize);
static int cfgReadPanelSize();
@@ -49,33 +49,33 @@ protected slots:
signals:
- void rightMouseClicked(QMouseEvent *);
+ void rightMouseClicked(TQMouseEvent *);
private:
LMSensors *sensors;
InfoPanels *infoPanels;
- QWidget *childDraging;
+ TQWidget *childDraging;
int panelsSize;
- QPoint origMousePt;
+ TQPoint origMousePt;
void loadPalette(Panel *panel=0);
void loadDisplayConfig(Panel *display);
void saveDisplayConfig(Panel *display);
- void mouseReleaseEvent ( QMouseEvent *m );
- void mouseMoveEvent ( QMouseEvent *m );
+ void mouseReleaseEvent ( TQMouseEvent *m );
+ void mouseMoveEvent ( TQMouseEvent *m );
void createSensorPanels();
void findUnusedPosition(int *px,int *py);
- void startDragChild(QMouseEvent *m, QWidget *w);
+ void startDragChild(TQMouseEvent *m, TQWidget *w);
void endDragChild();
void resizePanels(int newSize);
void loadGeneralOptions();
private slots:
- void childEvent(QChildEvent *);
- void childEventReceived(QEvent *);
+ void childEvent(TQChildEvent *);
+ void childEventReceived(TQEvent *);
};