[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kword
From: Christian Mueller <cmueller () gmx ! de>
Date: 2006-12-15 7:44:12
Message-ID: 1166168652.510417.6354.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 613791 by cmueller:
EBN fixes:
- Do not use contractions ("don't" -> "do not", etc.)
- use const references when passing QStrings
- spelling fixes
M +3 -3 KWFrameDia.cpp
M +2 -2 KWordViewIface.cpp
M +2 -2 KWordViewIface.h
M +1 -1 part/KWPageSettings.h
M +1 -1 plugins/scripting/TextDocument.h
--- trunk/koffice/kword/KWFrameDia.cpp #613790:613791
@@ -414,10 +414,10 @@
"multiple chained frames, it's always the last one which will be \
resized." ); m_eofGrid->addWidget( m_rResizeFrame, 2, 0 );
- m_rNoShow = new QRadioButton( i18n( "Don't show the extra text" ), \
m_endOfFrame );
- m_rNoShow->setWhatsThis( "<b>Don't show the extra text:</b><br/> "
+ m_rNoShow = new QRadioButton( i18n( "Do not show the extra text" ), \
m_endOfFrame ); + m_rNoShow->setWhatsThis( "<b>Do not show the extra \
text:</b><br/> "
"if there is too much text for this text frame, nothing happens "
- "automatically. Initially the extra text won't appear. One possibility "
+ "automatically. Initially the extra text will not appear. One \
possibility "
"then is to resize the frame manually. The other possibility is, with \
the option "
"\"Reconnect frame to current flow\" selected, to create a new page "
"which will then have a followup frame with the extra text." );
--- trunk/koffice/kword/KWordViewIface.cpp #613790:613791
@@ -117,12 +117,12 @@
return picture;
}
-void KWordViewIface::insertPictureFromFile( QString fileName, double x, double y, \
int w, int h ) +void KWordViewIface::insertPictureFromFile( const QString& fileName, \
double x, double y, int w, int h ) {
view->getGUI()->canvasWidget()->insertPictureDirect( picture( fileName ), \
KoPoint( x, y ), QSize(w, h) ); }
-void KWordViewIface::insertInlinePicture( QString fileName, int w, int h )
+void KWordViewIface::insertInlinePicture( const QString& fileName, int w, int h )
{
view->insertPicture( picture( fileName ), true /*makeInline*/, true \
/*keepRatio*/, w, h ); view->getGUI()->canvasWidget()->insertInlinePicture();
--- trunk/koffice/kword/KWordViewIface.h #613790:613791
@@ -68,12 +68,12 @@
* Insert an inline picture at the current character position
* TODO
*/
- void insertInlinePicture( QString fileName, int w = 0, int h = 0 );
+ void insertInlinePicture( const QString& fileName, int w = 0, int h = 0 );
/**
* Insert a (non-inline) picture at the given position
* If w and h are 0, the default size from the image is used
*/
- void insertPictureFromFile( QString fileName, double x, double y, int w = 0, int \
h = 0 ); + void insertPictureFromFile( const QString& fileName, double x, double \
y, int w = 0, int h = 0 );
void toolsPart();
--- trunk/koffice/kword/part/KWPageSettings.h #613790:613791
@@ -54,7 +54,7 @@
* @param p There are 2 ways to 'enable' the header, KWord::HFTypeEvenOdd will
* use the OddHeaders frameSet for the text and KWord::HFTypeUniform will use
* the FirstHeader frameset for the text.
- * This distinction is usefull when reconfiguring a document without moving text
+ * This distinction is useful when reconfiguring a document without moving text
*/
void setFirstHeaderPolicy(KWord::HeaderFooterType p) { m_firstHeader = p; }
--- trunk/koffice/kword/plugins/scripting/TextDocument.h #613790:613791
@@ -86,7 +86,7 @@
/** This signal is emitted if content changed. */
void contentsChange(int position, int charsRemoved, int charsAdded);
- /** This signal is emitted if the cursor-positon changed. */
+ /** This signal is emitted if the cursor-position changed. */
void cursorPositionChanged();
/** This signal is emitted if the size of the document changed. */
void documentSizeChanged();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic