foo(QString) -> foo(const QString&)

svn path=/trunk/playground/graphics/okular/; revision=597872
remotes/origin/KDE/4.0
Pino Toscano 20 years ago
parent 300d2a19d1
commit bbcb217a19
  1. 2
      generators/ghostview/interpreter_cmd.cpp
  2. 2
      generators/ghostview/interpreter_cmd.h
  3. 2
      generators/poppler/generator_pdf.cpp

@ -271,7 +271,7 @@ void GSInterpreterCMD::setMagnify( double magnify )
unlock();
}
void GSInterpreterCMD::setMedia( QString media )
void GSInterpreterCMD::setMedia( const QString &media )
{
lock();
if( m_media != media )

@ -59,7 +59,7 @@ class GSInterpreterCMD : public QThread
void setPlatformFonts(bool pfonts=true);
void setAABits(int text=1, int graphics=1);
void setMagnify( double magnify );
void setMedia (QString media) ;
void setMedia( const QString &media );
// void setBoundingBox( const KDSCBBOX& boundingBox );
void setStructure(GSInterpreterLib::Position prolog, GSInterpreterLib::Position setup);
bool run( GSInterpreterLib::Position pos );

@ -819,7 +819,7 @@ bool PDFGenerator::exportToText( const QString & fileName )
//END Generator inherited functions
inline void append (Okular::TextPage* ktp,
QString s, double l, double b, double r, double t)
const QString &s, double l, double b, double r, double t)
{
// kWarning() << "text: " << s << " at (" << l << "," << t << ")x(" << r <<","<<b<<")" << endl;
ktp->append( s ,

Loading…
Cancel
Save