[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/karbon
From: Tim Beaulen <tbscope () gmail ! com>
Date: 2006-05-31 19:00:58
Message-ID: 1149102058.437284.10260.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 547065 by beaulen:
This still needs to be ported.
M +5 -5 karbon_view.cc
--- trunk/koffice/karbon/karbon_view.cc #547064:547065
@@ -1110,12 +1110,12 @@
// object <-----
// line style (dashes)
- m_lineStyleAction = new KoLineStyleAction(i18n("Line Style"), "linestyle", \
actionCollection(), "setLineStyle");
- connect(m_lineStyleAction, SIGNAL(selectionChanged(int)), this, \
SLOT(setLineStyle(int))); + // TODO: KoLineStyleAction isn't ported yet (needs to be \
added to kofficeui too). + //m_lineStyleAction = new KoLineStyleAction(i18n("Line \
Style"), "linestyle", this, SLOT(setLineStyle(int)), actionCollection(), \
"setLineStyle");
// line width
m_setLineWidth = new KoUnitDoubleSpinComboBox( this, 0.0, 1000.0, 0.5, 1.0, \
KoUnit::U_PT, 1 );
- /* port
+ /* TODO: port
new KWidgetAction( m_setLineWidth, i18n( "Set Line Width" ), 0, this, SLOT( \
setLineWidth() ), actionCollection(), "setLineWidth" );
*/
m_setLineWidth->insertItem( 0.25 );
@@ -1422,8 +1422,8 @@
//if ( this == shell()->rootView() || koDocument()->isEmbedded() && \
m_strokeFillPreview ) m_strokeFillPreview->update( *( \
part()->document().selection()->stroke() ),
*( part()->document().selection()->fill() ) );
- /* TODO: this will crash karbon when starting:
- m_lineStyleAction->setEnabled( false );*/
+ // TODO: activate the line below when KoLineStyleAction is ported.
+ // m_lineStyleAction->setEnabled( false );
m_deleteSelectionAction->setEnabled( false );
}
emit selectionChange();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic