summaryrefslogtreecommitdiffstats
path: root/konq-plugins/kimgalleryplugin/imgallerydialog.cpp
diff options
context:
space:
mode:
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());