summaryrefslogtreecommitdiffstats
path: root/src/basketstatusbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/basketstatusbar.h')
-rw-r--r--src/basketstatusbar.h35
1 files changed, 18 insertions, 17 deletions
diff --git a/src/basketstatusbar.h b/src/basketstatusbar.h
index f9d8714..cb165e4 100644
--- a/src/basketstatusbar.h
+++ b/src/basketstatusbar.h
@@ -20,21 +20,22 @@
#ifndef BASKETSTATUSBAR_H
#define BASKETSTATUSBAR_H
-#include <qobject.h>
-#include <qpixmap.h>
+#include <tqobject.h>
+#include <tqpixmap.h>
class KStatusBar;
namespace KParts { class StatusBarExtension; }
-class QWidget;
-class QLabel;
+class TQWidget;
+class TQLabel;
class ClickableLabel;
/**
@author Sébastien Laoût <slaout@linux62.org>
*/
-class BasketStatusBar : public QObject
+class BasketStatusBar : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
BasketStatusBar(KStatusBar *bar);
BasketStatusBar(KParts::StatusBarExtension *extension);
@@ -42,27 +43,27 @@ class BasketStatusBar : public QObject
public slots:
/** GUI Main Window actions **/
- void setStatusBarHint(const QString &hint); /// << Set a specific message or update if hint is empty
+ void setStatusBarHint(const TQString &hint); /// << Set a specific message or update if hint is empty
void updateStatusBarHint(); /// << Display the current state message (dragging, editing) or reset the startsbar message
- void postStatusbarMessage(const QString &text);
- void setSelectionStatus(const QString &s);
- void setLockStatus(bool isLocked);
+ void postStatusbarMessage(const TQString &text);
+ void setSelectiontqStatus(const TQString &s);
+ void setLocktqStatus(bool isLocked);
void setupStatusBar();
- void setUnsavedStatus(bool isUnsaved);
+ void setUnsavedtqStatus(bool isUnsaved);
protected:
KStatusBar *statusBar () const;
- void addWidget(QWidget * widget, int stretch = 0, bool permanent = false);
- void setStatusText(const QString &txt);
+ void addWidget(TQWidget * widget, int stretch = 0, bool permanent = false);
+ void setStatusText(const TQString &txt);
private:
KStatusBar *m_bar;
KParts::StatusBarExtension *m_extension;
- QLabel *m_selectionStatus;
- ClickableLabel *m_lockStatus;
- QLabel *m_basketStatus;
- QLabel *m_savedStatus;
- QPixmap m_savedStatusPixmap;
+ TQLabel *m_selectiontqStatus;
+ ClickableLabel *m_locktqStatus;
+ TQLabel *m_baskettqStatus;
+ TQLabel *m_savedtqStatus;
+ TQPixmap m_savedStatusPixmap;
};
#endif