diff options
Diffstat (limited to 'kicker/applets/launcher/quickbutton.h')
-rw-r--r-- | kicker/applets/launcher/quickbutton.h | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/kicker/applets/launcher/quickbutton.h b/kicker/applets/launcher/quickbutton.h index 98eabec6e..263651cc0 100644 --- a/kicker/applets/launcher/quickbutton.h +++ b/kicker/applets/launcher/quickbutton.h @@ -24,11 +24,11 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #ifndef __quickbutton_h__ #define __quickbutton_h__ -#include <qbutton.h> -#include <qpoint.h> -#include <qstring.h> -#include <qpixmap.h> -#include <qcursor.h> +#include <tqbutton.h> +#include <tqpoint.h> +#include <tqstring.h> +#include <tqpixmap.h> +#include <tqcursor.h> #include <kickertip.h> #include <kicontheme.h> @@ -45,22 +45,22 @@ class KToggleAction; class QuickURL { public: - QuickURL(const QString &u); + QuickURL(const TQString &u); KURL kurl() const {return _kurl;}; - QString url() const {return _kurl.url();}; - QString menuId() const {return _menuId;}; - QString genericName() const { return m_genericName; } - QString name() const { return m_name; } + TQString url() const {return _kurl.url();}; + TQString menuId() const {return _menuId;}; + TQString genericName() const { return m_genericName; } + TQString name() const { return m_name; } KService::Ptr service() const {return _service;}; void run() const; - QPixmap pixmap(mode_t _mode = 0, KIcon::Group _group = KIcon::Desktop, - int _force_size = 0, int _state = 0, QString * _path = 0L) const; + TQPixmap pixmap(mode_t _mode = 0, KIcon::Group _group = KIcon::Desktop, + int _force_size = 0, int _state = 0, TQString * _path = 0L) const; private: KURL _kurl; - QString _menuId; - QString m_genericName; - QString m_name; + TQString _menuId; + TQString m_genericName; + TQString m_name; KService::Ptr _service; }; @@ -71,12 +71,12 @@ class QuickButton: public SimpleButton, public KickerTip::Client { public: enum { DEFAULT_ICON_DIM = 16 }; enum { ICON_MARGIN = 1 }; - QuickButton(const QString &u, KAction* configAction, - QWidget *parent=0, const char *name=0); + QuickButton(const TQString &u, KAction* configAction, + TQWidget *parent=0, const char *name=0); ~QuickButton(); - QString url() const; - QString menuId() const; - QPixmap icon() const{ return _icon;} + TQString url() const; + TQString menuId() const; + TQPixmap icon() const{ return _icon;} bool sticky() { return m_sticky; } void setSticky(bool bSticky); void setPopupDirection(KPanelApplet::Direction d); @@ -88,13 +88,13 @@ public: signals: void removeApp(QuickButton *); - void executed(QString serviceStorageID); + void executed(TQString serviceStorageID); void stickyToggled(bool isSticky); protected: - void mousePressEvent(QMouseEvent *e); - void mouseMoveEvent(QMouseEvent *e); - void resizeEvent(QResizeEvent *rsevent); + void mousePressEvent(TQMouseEvent *e); + void mouseMoveEvent(TQMouseEvent *e); + void resizeEvent(TQResizeEvent *rsevent); void loadIcon(); void updateKickerTip(KickerTip::Data &data); @@ -108,10 +108,10 @@ protected slots: private: int m_flashCounter; QuickURL *_qurl; - QPoint _dragPos; - QPopupMenu *_popup; - QPixmap _icon, _iconh; - QCursor _oldCursor; + TQPoint _dragPos; + TQPopupMenu *_popup; + TQPixmap _icon, _iconh; + TQCursor _oldCursor; bool _highlight, _changeCursorOverItem, _dragEnabled; int _iconDim; bool m_sticky; |