summaryrefslogtreecommitdiffstats
path: root/kig/misc/screeninfo.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
commit0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch)
tree2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kig/misc/screeninfo.h
parent83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff)
downloadtdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz
tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kig/misc/screeninfo.h')
-rw-r--r--kig/misc/screeninfo.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/kig/misc/screeninfo.h b/kig/misc/screeninfo.h
index b7f94c49..570e1a8f 100644
--- a/kig/misc/screeninfo.h
+++ b/kig/misc/screeninfo.h
@@ -18,7 +18,7 @@
#ifndef SCREENINFO_H
#define SCREENINFO_H
-#include <qrect.h>
+#include <tqrect.h>
#include "rect.h"
@@ -31,15 +31,15 @@
class ScreenInfo
{
Rect mkrect;
- QRect mqrect;
+ TQRect mqrect;
public:
- ScreenInfo( const Rect& docRect, const QRect& viewRect );
+ ScreenInfo( const Rect& docRect, const TQRect& viewRect );
- Coordinate fromScreen( const QPoint& p ) const;
- Rect fromScreen( const QRect& r ) const;
+ Coordinate fromScreen( const TQPoint& p ) const;
+ Rect fromScreen( const TQRect& r ) const;
- QPoint toScreen( const Coordinate& p ) const;
- QRect toScreen( const Rect& r ) const;
+ TQPoint toScreen( const Coordinate& p ) const;
+ TQRect toScreen( const Rect& r ) const;
double pixelWidth() const;
@@ -49,9 +49,9 @@ public:
void setShownRect( const Rect& r );
- const QRect viewRect() const;
+ const TQRect viewRect() const;
- void setViewRect( const QRect& r );
+ void setViewRect( const TQRect& r );
};
#endif