From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kcontrol/background/bgmonitor.h | 46 ++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'kcontrol/background/bgmonitor.h') diff --git a/kcontrol/background/bgmonitor.h b/kcontrol/background/bgmonitor.h index 1e714194e..92cf5eef4 100644 --- a/kcontrol/background/bgmonitor.h +++ b/kcontrol/background/bgmonitor.h @@ -25,9 +25,9 @@ #ifndef _BGMONITOR_H_ #define _BGMONITOR_H_ -#include -#include -#include +#include +#include +#include class BGMonitor; class BGMonitorLabel; @@ -41,32 +41,32 @@ class BGMonitorArrangement : public QWidget { Q_OBJECT public: - BGMonitorArrangement(QWidget *parent, const char *name=0L); + BGMonitorArrangement(TQWidget *parent, const char *name=0L); /** * Splits up the pixmap according to monitor geometries and sets each * BGMonitor pixmap accordingly. */ void setPixmap( const KPixmap & pm ); - QSize combinedPreviewSize() const { return m_combinedPreviewSize; } - QSize maxPreviewSize() const { return m_maxPreviewSize; } + TQSize combinedPreviewSize() const { return m_combinedPreviewSize; } + TQSize maxPreviewSize() const { return m_maxPreviewSize; } unsigned numMonitors() const { return m_pBGMonitor.size(); } BGMonitor * monitor( unsigned screen ) const; void updateArrangement(); signals: - void imageDropped(const QString &); + void imageDropped(const TQString &); protected: - virtual void resizeEvent( QResizeEvent * ); - QRect expandToPreview( QRect r ) const; - QSize expandToPreview( QSize s ) const; - QPoint expandToPreview( QPoint p ) const; + virtual void resizeEvent( TQResizeEvent * ); + TQRect expandToPreview( TQRect r ) const; + TQSize expandToPreview( TQSize s ) const; + TQPoint expandToPreview( TQPoint p ) const; - QValueVector m_pBGMonitor; - QSize m_combinedPreviewSize; - QSize m_maxPreviewSize; + TQValueVector m_pBGMonitor; + TQSize m_combinedPreviewSize; + TQSize m_maxPreviewSize; }; /** @@ -75,18 +75,18 @@ protected: class BGMonitorLabel : public QLabel { public: - BGMonitorLabel(QWidget *parent, const char *name=0L); + BGMonitorLabel(TQWidget *parent, const char *name=0L); BGMonitor * monitor() const { return m_pBGMonitor; } void updateMonitorGeometry(); - void setPreviewPosition( QRect r ) { m_previewPosition = r; } - QRect previewPosition() const { return m_previewPosition; } + void setPreviewPosition( TQRect r ) { m_previewPosition = r; } + TQRect previewPosition() const { return m_previewPosition; } protected: - virtual void resizeEvent( QResizeEvent * ); + virtual void resizeEvent( TQResizeEvent * ); BGMonitor * m_pBGMonitor; - QRect m_previewPosition; + TQRect m_previewPosition; }; @@ -97,14 +97,14 @@ class BGMonitor : public QLabel { Q_OBJECT public: - BGMonitor(QWidget *parent, const char *name=0L); + BGMonitor(TQWidget *parent, const char *name=0L); signals: - void imageDropped(const QString &); + void imageDropped(const TQString &); protected: - virtual void dropEvent(QDropEvent *); - virtual void dragEnterEvent(QDragEnterEvent *); + virtual void dropEvent(TQDropEvent *); + virtual void dragEnterEvent(TQDragEnterEvent *); }; -- cgit v1.2.1