summaryrefslogtreecommitdiffstats
path: root/src/kima.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kima.h')
-rw-r--r--src/kima.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/src/kima.h b/src/kima.h
index 4e1ba1f..976b962 100644
--- a/src/kima.h
+++ b/src/kima.h
@@ -28,30 +28,30 @@
#include "sources/source.h"
#include "cpufreqd/cpufreqd.h"
-// Qt
-#include <qtooltip.h>
-#include <qfont.h>
-#include <qcolor.h>
-#include <qptrlist.h>
-#include <qlabel.h>
+// TQt
+#include <tqtooltip.h>
+#include <tqfont.h>
+#include <tqcolor.h>
+#include <tqptrlist.h>
+#include <tqlabel.h>
// Forward Declarations
class FlowLayout;
class KAboutApplication;
class KPopupMenu;
class KSelectAction;
-class QMouseEvent;
+class TQMouseEvent;
class KDialogBase;
class Prefs;
-class QListViewItem;
+class TQListViewItem;
class KConfig;
-class QLayoutItem;
+class TQLayoutItem;
/**
@author Ken Werner
*/
-class Kima : public KPanelApplet, QToolTip {
- Q_OBJECT //macro which activates signals and slots (moc)
+class Kima : public KPanelApplet, TQToolTip {
+ TQ_OBJECT //macro which activates signals and slots (tqmoc)
public:
/**
@@ -60,11 +60,11 @@ public:
* @param configFile The configFile handed over in the factory function.
* @param Type The applet @ref type().
* @param actions Standard RMB menu actions supported by the applet (see @ref action() ).
- * @param parent The pointer to the parent widget handed over in the factory function.
- * @param name A Qt object name for your applet.
+ * @param tqparent The pointer to the tqparent widget handed over in the factory function.
+ * @param name A TQt object name for your applet.
**/
- Kima(const QString& inConfigFile, Type inType = Normal, int inActions = 0,
- QWidget* inParent = 0, const char* inName = 0);
+ Kima(const TQString& inConfigFile, Type inType = Normal, int inActions = 0,
+ TQWidget* inParent = 0, const char* inName = 0);
/** destructor */
virtual ~Kima();
@@ -151,19 +151,19 @@ public slots:
/**
* raises the preferences widgets of the given list item
*/
- void raiseSourcePrefsWidget(QListViewItem* inListViewItem);
+ void raiseSourcePrefsWidget(TQListViewItem* inListViewItem);
/**
- * adds or removes the given source from the display (layout) of the kicker applet
+ * adds or removes the given source from the display (tqlayout) of the kicker applet
*/
void displaySource(bool inDisplay, Source* inSource);
protected:
- void paintEvent(QPaintEvent* inEvent);
- void mousePressEvent(QMouseEvent* inEvent);
- void mouseMoveEvent(QMouseEvent* inEvent);
- void mouseReleaseEvent(QMouseEvent* inEvent);
- void maybeTip(const QPoint& inPos);
+ void paintEvent(TQPaintEvent* inEvent);
+ void mousePressEvent(TQMouseEvent* inEvent);
+ void mouseMoveEvent(TQMouseEvent* inEvent);
+ void mouseReleaseEvent(TQMouseEvent* inEvent);
+ void maybeTip(const TQPoint& inPos);
void registerSource(Source* source);
protected slots:
@@ -179,7 +179,7 @@ private:
* Searches for the Source that has inWidget
* Returns the found Soucre, otherwise NULL
*/
- Source* findSource(QWidget* inWidget);
+ Source* findSource(TQWidget* inWidget);
/**
* Searches for the Source that has inPosition
* Returns the found Soucre, otherwise NULL
@@ -198,13 +198,13 @@ private:
/**
* stores sources
*/
- QPtrList<Source> mSources;
+ TQPtrList<Source> mSources;
/**
* points to the source which is currently
* dragged, otherwise NULL
*/
- QLayoutItem* mDraggedSourceItem;
+ TQLayoutItem* mDraggedSourceItem;
/**
* 'drag' threshold multiplier