summaryrefslogtreecommitdiffstats
path: root/src/basketstatusbar.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-17 08:20:48 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-17 08:20:48 +0000
commitaa0726b20f398264f0a2abc60215be044b106f9c (patch)
tree070fdbc19a1106cfdd7f651a8ce76bb1b89a513d /src/basketstatusbar.h
parentd3cf5b3e75aadc3b02d0b56f030d4c3f8c2c749d (diff)
downloadbasket-aa0726b20f398264f0a2abc60215be044b106f9c.tar.gz
basket-aa0726b20f398264f0a2abc60215be044b106f9c.zip
TQt4 port basket
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/basket@1232416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 <[email protected]>
*/
-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