summaryrefslogtreecommitdiffstats
path: root/kdeprint/management/sidepixmap.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeprint/management/sidepixmap.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/management/sidepixmap.cpp')
-rw-r--r--kdeprint/management/sidepixmap.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kdeprint/management/sidepixmap.cpp b/kdeprint/management/sidepixmap.cpp
index 6469b935d..99a1e6198 100644
--- a/kdeprint/management/sidepixmap.cpp
+++ b/kdeprint/management/sidepixmap.cpp
@@ -19,20 +19,20 @@
#include "sidepixmap.h"
-#include <qpainter.h>
+#include <tqpainter.h>
#include <kstandarddirs.h>
-SidePixmap::SidePixmap(QWidget *parent, const char *name)
-: QFrame(parent, name)
+SidePixmap::SidePixmap(TQWidget *parent, const char *name)
+: TQFrame(parent, name)
{
setLineWidth(1);
- setFrameStyle(QFrame::WinPanel|QFrame::Sunken);
+ setFrameStyle(TQFrame::WinPanel|TQFrame::Sunken);
m_side.load(locate("data", "kdeprint/side.png"));
m_tileup.load(locate("data", "kdeprint/tileup.png"));
m_tiledown.load(locate("data", "kdeprint/tiledown.png"));
- setSizePolicy(QSizePolicy(QSizePolicy::Fixed, QSizePolicy::Minimum));
+ setSizePolicy(TQSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Minimum));
}
bool SidePixmap::isValid()
@@ -42,12 +42,12 @@ bool SidePixmap::isValid()
&& (m_side.width() == m_tiledown.width()));
}
-QSize SidePixmap::sizeHint() const
+TQSize SidePixmap::sizeHint() const
{
- return (QSize(m_side.width()+lineWidth(), 300+lineWidth()));
+ return (TQSize(m_side.width()+lineWidth(), 300+lineWidth()));
}
-void SidePixmap::drawContents(QPainter *p)
+void SidePixmap::drawContents(TQPainter *p)
{
QRect r = contentsRect();
if (r.height() <= m_side.height())