summaryrefslogtreecommitdiffstats
path: root/konq-plugins/kimgalleryplugin/imgallerydialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 17:00:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 17:00:31 +0000
commit395a904bff7b4d6ead445c342f7ac0c5fbf29121 (patch)
tree9829cadb79d2cc7c29a940627fadb28b11e54150 /konq-plugins/kimgalleryplugin/imgallerydialog.cpp
parent399f47c376fdf4d19192732a701ea9578d11619d (diff)
downloadtdeaddons-395a904bff7b4d6ead445c342f7ac0c5fbf29121.tar.gz
tdeaddons-395a904bff7b4d6ead445c342f7ac0c5fbf29121.zip
TQt4 port kdeaddons
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1237404 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konq-plugins/kimgalleryplugin/imgallerydialog.cpp')
-rw-r--r--konq-plugins/kimgalleryplugin/imgallerydialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/konq-plugins/kimgalleryplugin/imgallerydialog.cpp b/konq-plugins/kimgalleryplugin/imgallerydialog.cpp
index 87e2e31..7e07835 100644
--- a/konq-plugins/kimgalleryplugin/imgallerydialog.cpp
+++ b/konq-plugins/kimgalleryplugin/imgallerydialog.cpp
@@ -44,9 +44,9 @@ Boston, MA 02110-1301, USA.
#include "imgallerydialog.h"
#include "imgallerydialog.moc"
-KIGPDialog::KIGPDialog(TQWidget *parent, const TQString& path, const char *name )
+KIGPDialog::KIGPDialog(TQWidget *tqparent, const TQString& path, const char *name )
: KDialogBase( IconList, i18n("Configure"), Default|Ok|Cancel,
- Ok, parent, name, true, true ),
+ Ok, tqparent, name, true, true ),
m_dialogOk( false )
{
m_path = path;
@@ -60,7 +60,7 @@ KIGPDialog::KIGPDialog(TQWidget *parent, const TQString& path, const char *name
void KIGPDialog::slotDefault()
{
- m_title->setText(i18n("Image Gallery for %1").arg(m_path));
+ m_title->setText(i18n("Image Gallery for %1").tqarg(m_path));
m_imagesPerRow->setValue(4);
m_imageName->setChecked(true);
m_imageSize->setChecked(false);
@@ -96,7 +96,7 @@ void KIGPDialog::setupLookPage(const TQString& path) {
label = new TQLabel( i18n("&Page title:"), page);
vlay->addWidget(label);
- m_title = new TQLineEdit(i18n("Image Gallery for %1").arg(path), page);
+ m_title = new TQLineEdit(i18n("Image Gallery for %1").tqarg(path), page);
vlay->addWidget( m_title );
label->setBuddy(m_title);
@@ -333,8 +333,8 @@ void KIGPDialog::writeConfig()
m_config->writeEntry("ImageProperty", printImageProperty());
m_config->writeEntry("FontName", getFontName());
m_config->writeEntry("FontSize", getFontSize());
- m_config->writeEntry("ForegroundColor", getForegroundColor().name() );
- m_config->writeEntry("BackgroundColor", getBackgroundColor().name());
+ m_config->writeEntry("ForegroundColor", TQString(getForegroundColor().name()) );
+ m_config->writeEntry("BackgroundColor", TQString(getBackgroundColor().name()));
m_config->setGroup("Directory");
m_config->writeEntry("RecurseSubDirectories", recurseSubDirectories());