[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/kdeprint/kdeprintfax
From: Michael Goffioul <goffioul () imec ! be>
Date: 2004-03-12 13:37:26
Message-ID: 20040312133726.EE33999AC () office ! kde ! org
[Download RAW message or body]
CVS commit by goffioul:
Replace "%files" tag in all cases
M +9 -6 faxctrl.cpp 1.27
--- kdebase/kdeprint/kdeprintfax/faxctrl.cpp #1.26:1.27
@@ -322,4 +322,13 @@ QString FaxCtrl::pageSize()
void FaxCtrl::sendFax()
{
+ if ( m_command.find( "%files" ) != -1 )
+ {
+ // replace %files tag
+ QString filestr;
+ for (QStringList::ConstIterator it=m_filteredfiles.begin(); \
it!=m_filteredfiles.end(); ++it) + filestr += (quote(*it)+" \
"); + m_command.replace("%files", filestr);
+ }
+
if ( !m_faxlist.isEmpty() )
{
@@ -370,10 +379,4 @@ void FaxCtrl::filter()
else
{
- // replace %files tag
- QString filestr;
- for (QStringList::ConstIterator it=m_filteredfiles.begin(); \
it!=m_filteredfiles.end(); ++it)
- filestr += (quote(*it)+" ");
- m_command.replace("%files", filestr);
-
sendFax();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic