summaryrefslogtreecommitdiffabout
path: root/libkdepim/kcmconfigs
authorulf69 <ulf69>2004-08-10 22:39:35 (UTC)
committer ulf69 <ulf69>2004-08-10 22:39:35 (UTC)
commit29abd716e5187a4717a5459b9c25c6c299df8d56 (patch) (unidiff)
tree72159d7b8cf49115d4ecf285120d8f9f44e7015e /libkdepim/kcmconfigs
parent2f1b58e344b882578977dd3786f7a94495096d22 (diff)
downloadkdepimpi-29abd716e5187a4717a5459b9c25c6c299df8d56.zip
kdepimpi-29abd716e5187a4717a5459b9c25c6c299df8d56.tar.gz
kdepimpi-29abd716e5187a4717a5459b9c25c6c299df8d56.tar.bz2
changes on how to send emails to contacts
Diffstat (limited to 'libkdepim/kcmconfigs') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/kcmconfigs/kdepimconfigwidget.cpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/libkdepim/kcmconfigs/kdepimconfigwidget.cpp b/libkdepim/kcmconfigs/kdepimconfigwidget.cpp
index c8b94db..4f4cc6a 100644
--- a/libkdepim/kcmconfigs/kdepimconfigwidget.cpp
+++ b/libkdepim/kcmconfigs/kdepimconfigwidget.cpp
@@ -120,62 +120,65 @@ KDEPIMConfigWidget::KDEPIMConfigWidget( QWidget *parent, const char *name )
120 mClient = new QComboBox( mExternalAppGroupBox ); 120 mClient = new QComboBox( mExternalAppGroupBox );
121 boxLayout->addMultiCellWidget( mClient, 0, 0, 0, 1 ); 121 boxLayout->addMultiCellWidget( mClient, 0, 0, 0, 1 );
122 122
123 connect( mClient, SIGNAL( activated( int ) ), 123 connect( mClient, SIGNAL( activated( int ) ),
124 this, SLOT (client_changed( int ) ) ); 124 this, SLOT (client_changed( int ) ) );
125 125
126 QLabel* lab = new QLabel( i18n("Channel:"), mExternalAppGroupBox); 126 QLabel* lab = new QLabel( i18n("Channel:"), mExternalAppGroupBox);
127 boxLayout->addWidget( lab, 1, 0 ); 127 boxLayout->addWidget( lab, 1, 0 );
128 mChannel = new QLineEdit(mExternalAppGroupBox); 128 mChannel = new QLineEdit(mExternalAppGroupBox);
129 mChannel->setReadOnly(true); 129 mChannel->setReadOnly(true);
130 boxLayout->addMultiCellWidget( mChannel, 2 , 2, 0, 1 ); 130 boxLayout->addMultiCellWidget( mChannel, 2 , 2, 0, 1 );
131 131
132 lab = new QLabel( i18n("Message:"), mExternalAppGroupBox); 132 lab = new QLabel( i18n("Message:"), mExternalAppGroupBox);
133 boxLayout->addWidget( lab, 3, 0 ); 133 boxLayout->addWidget( lab, 3, 0 );
134 mMessage = new QLineEdit(mExternalAppGroupBox); 134 mMessage = new QLineEdit(mExternalAppGroupBox);
135 mMessage->setReadOnly(true); 135 mMessage->setReadOnly(true);
136 boxLayout->addWidget( mMessage , 4, 0); 136 boxLayout->addWidget( mMessage , 4, 0);
137 137
138 lab = new QLabel( i18n("Parameters:"), mExternalAppGroupBox); 138 lab = new QLabel( i18n("Parameters:"), mExternalAppGroupBox);
139 boxLayout->addWidget( lab, 3, 1 ); 139 boxLayout->addWidget( lab, 3, 1 );
140 mParameters = new QLineEdit(mExternalAppGroupBox); 140 mParameters = new QLineEdit(mExternalAppGroupBox);
141 mParameters->setReadOnly(true); 141 mParameters->setReadOnly(true);
142 boxLayout->addWidget( mParameters, 4, 1 ); 142 boxLayout->addWidget( mParameters, 4, 1 );
143 143
144 lab = new QLabel( i18n("HINT: Delimiter=; Name=%1,Email=%2"), mExternalAppGroupBox);
145 boxLayout->addMultiCellWidget( lab, 5, 5, 0, 1 );
146
144 lab = new QLabel( i18n("extra Message:"), mExternalAppGroupBox); 147 lab = new QLabel( i18n("extra Message:"), mExternalAppGroupBox);
145 boxLayout->addWidget( lab, 5, 0 ); 148 boxLayout->addWidget( lab, 6, 0 );
146 mMessage2 = new QLineEdit(mExternalAppGroupBox); 149 mMessage2 = new QLineEdit(mExternalAppGroupBox);
147 mMessage2->setReadOnly(true); 150 mMessage2->setReadOnly(true);
148 boxLayout->addWidget( mMessage2 , 6, 0); 151 boxLayout->addWidget( mMessage2 , 7, 0);
149 152
150 lab = new QLabel( i18n("extra Parameters:"), mExternalAppGroupBox); 153 lab = new QLabel( i18n("extra Parameters:"), mExternalAppGroupBox);
151 boxLayout->addWidget( lab, 5, 1 ); 154 boxLayout->addWidget( lab, 6, 1 );
152 mParameters2 = new QLineEdit(mExternalAppGroupBox); 155 mParameters2 = new QLineEdit(mExternalAppGroupBox);
153 mParameters2->setReadOnly(true); 156 mParameters2->setReadOnly(true);
154 boxLayout->addWidget( mParameters2, 6, 1 ); 157 boxLayout->addWidget( mParameters2, 7, 1 );
155 158
156 lab = new QLabel( i18n("HINT: Delimiter=; Data=%1 "), mExternalAppGroupBox); 159 lab = new QLabel( i18n("HINT: Emails=%1,Attachments=%2"), mExternalAppGroupBox);
157 boxLayout->addMultiCellWidget( lab, 7, 7, 0, 1 ); 160 boxLayout->addMultiCellWidget( lab, 8, 8, 0, 1 );
158 161
159 162
160 connect( mChannel, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); 163 connect( mChannel, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) );
161 connect( mMessage, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); 164 connect( mMessage, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) );
162 connect( mParameters, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); 165 connect( mParameters, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) );
163 connect( mMessage2, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); 166 connect( mMessage2, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) );
164 connect( mParameters2, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); 167 connect( mParameters2, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) );
165 168
166 169
167 170
168 layout->addWidget( mExternalAppGroupBox ); 171 layout->addWidget( mExternalAppGroupBox );
169 tabWidget->addTab( externalAppsPage, i18n( "External Apps." ) ); 172 tabWidget->addTab( externalAppsPage, i18n( "External Apps." ) );
170 173
171} 174}
172 175
173void KDEPIMConfigWidget::externalapp_changed( int newApp ) 176void KDEPIMConfigWidget::externalapp_changed( int newApp )
174{ 177{
175 // first store the current data 178 // first store the current data
176 saveEditFieldSettings(); 179 saveEditFieldSettings();
177 180
178 // set mCurrentApp 181 // set mCurrentApp
179 mCurrentApp = (ExternalAppHandler::Types)newApp; 182 mCurrentApp = (ExternalAppHandler::Types)newApp;
180 183
181 // set mCurrentClient 184 // set mCurrentClient