[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeextragear-3/digikam/utilities/setup
From:       Ralf Hoelzer <ralf () well ! com>
Date:       2004-05-23 2:37:21
Message-ID: 20040523023721.CE04D93A7 () office ! kde ! org
[Download RAW message or body]

CVS commit by rhoezler: 

Added configuration option for saving comments in the EXIF section of
JPeg images.


  M +14 -0     setupgeneral.cpp   1.10
  M +1 -0      setupgeneral.h   1.4


--- kdeextragear-3/digikam/utilities/setup/setupgeneral.cpp  #1.9:1.10
@@ -121,4 +121,16 @@ SetupGeneral::SetupGeneral(QWidget* pare
    // --------------------------------------------------------
 
+   QGroupBox *iconCommentsGroup = new QGroupBox(1,
+                                            Qt::Horizontal, 
+                                            i18n("Comments"),
+                                            parent);
+
+   iconSaveExifBox_ = new QCheckBox(iconCommentsGroup);
+   iconSaveExifBox_->setText(i18n("Save comments as EXIF Comments in Jpeg images"));
+
+   layout->addWidget(iconCommentsGroup);
+
+   // --------------------------------------------------------
+
    layout->addStretch();
 
@@ -154,4 +166,5 @@ void SetupGeneral::applySettings()
     settings->setIconShowDate(iconShowDateBox_->isChecked());
     settings->setIconShowComments(iconShowCommentsBox_->isChecked());
+    settings->setSaveExifComments(iconSaveExifBox_->isChecked());
 
     settings->saveSettings();
@@ -188,4 +201,5 @@ void SetupGeneral::readSettings()
     iconShowDateBox_->setChecked(settings->getIconShowDate());
     iconShowCommentsBox_->setChecked(settings->getIconShowComments());
+    iconSaveExifBox_->setChecked(settings->getSaveExifComments());
 }
 

--- kdeextragear-3/digikam/utilities/setup/setupgeneral.h  #1.3:1.4
@@ -59,4 +59,5 @@ private:
     QCheckBox    *iconShowDateBox_;
     QCheckBox    *iconShowCommentsBox_;
+    QCheckBox    *iconSaveExifBox_;
     
 private slots:


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic