summaryrefslogtreecommitdiffstats
path: root/kiconedit/properties.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kiconedit/properties.cpp
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kiconedit/properties.cpp')
-rw-r--r--kiconedit/properties.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kiconedit/properties.cpp b/kiconedit/properties.cpp
index 0f2c1f44..f2ff221a 100644
--- a/kiconedit/properties.cpp
+++ b/kiconedit/properties.cpp
@@ -33,13 +33,13 @@ KIconEditProperties* KIconEditProperties::self()
return m_self;
}
-KIconEditProperties::KIconEditProperties() : QObject()
+KIconEditProperties::KIconEditProperties() : TQObject()
{
KConfig *config = kapp->config();
config->setGroup( "Appearance" );
- m_bgMode = (QWidget::BackgroundMode)config->readNumEntry( "BackgroundMode", QWidget::FixedPixmap);
+ m_bgMode = (TQWidget::BackgroundMode)config->readNumEntry( "BackgroundMode", TQWidget::FixedPixmap);
m_bgColor = config->readColorEntry( "BackgroundColor", &gray);
m_bgPixmap = config->readPathEntry("BackgroundPixmap");
@@ -58,13 +58,13 @@ KIconEditProperties::KIconEditProperties() : QObject()
m_transparencyDisplayType = KIconEditGrid::TRD_SOLIDCOLOR;
}
- QColor checkColor1(255, 255, 255);
- QColor checkColor2(127, 127, 127);
+ TQColor checkColor1(255, 255, 255);
+ TQColor checkColor2(127, 127, 127);
m_checkerboardColor1 = config->readColorEntry( "CheckerboardColor1", &checkColor1);
m_checkerboardColor2 = config->readColorEntry( "CheckerboardColor2", &checkColor2);
- QString checkerboardSize = config->readEntry( "CheckerboardSize", "Medium" );
+ TQString checkerboardSize = config->readEntry( "CheckerboardSize", "Medium" );
if(checkerboardSize == "Small")
{
@@ -80,7 +80,7 @@ KIconEditProperties::KIconEditProperties() : QObject()
m_checkerboardSize = KIconEditGrid::CHK_LARGE;
}
- QColor solidColor(255, 255, 255);
+ TQColor solidColor(255, 255, 255);
m_transparencySolidColor = config->readColorEntry( "TransparencySolidColor", &solidColor);
}
@@ -106,7 +106,7 @@ void KIconEditProperties::save()
config->writeEntry("GridScaling", m_gridScale );
config->writeEntry("ShowRulers", m_showRulers );
- QString transparencyDisplayType;
+ TQString transparencyDisplayType;
switch(m_transparencyDisplayType)
{
@@ -123,7 +123,7 @@ void KIconEditProperties::save()
config->writeEntry( "CheckerboardColor1", m_checkerboardColor1 );
config->writeEntry( "CheckerboardColor2", m_checkerboardColor2 );
- QString checkerboardSize;
+ TQString checkerboardSize;
switch(m_checkerboardSize)
{