summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-write/mainwindow.cpp
authorharlekin <harlekin>2003-03-22 18:18:46 (UTC)
committer harlekin <harlekin>2003-03-22 18:18:46 (UTC)
commit916e4d83eb69676e527d7b0cce5fdc0a400a8255 (patch) (side-by-side diff)
tree15c3d829a943cd8902ab44a9b027967fb28c091f /noncore/apps/opie-write/mainwindow.cpp
parent5fa24d5c7e5ebf45917b8632bfb2fb99cf545381 (diff)
downloadopie-916e4d83eb69676e527d7b0cce5fdc0a400a8255.zip
opie-916e4d83eb69676e527d7b0cce5fdc0a400a8255.tar.gz
opie-916e4d83eb69676e527d7b0cce5fdc0a400a8255.tar.bz2
use icons from inline
Diffstat (limited to 'noncore/apps/opie-write/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-write/mainwindow.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/apps/opie-write/mainwindow.cpp b/noncore/apps/opie-write/mainwindow.cpp
index bcafd16..4a49abf 100644
--- a/noncore/apps/opie-write/mainwindow.cpp
+++ b/noncore/apps/opie-write/mainwindow.cpp
@@ -169,27 +169,27 @@ void MainWindow::setupActions()
a->addTo( file );
a = new QAction( tr( "Open" ), Resource::loadPixmap( "fileopen" ), QString::null, 0, this, 0 );
connect( a, SIGNAL(activated()), this, SLOT(fileOpen()) );
a->addTo( file );
- a = new QAction( tr( "Undo" ), Resource::loadIconSet("opie-write/undo"),
+ a = new QAction( tr( "Undo" ), Resource::loadIconSet("undo"),
QString::null, 0, this, "editUndo" );
connect( a, SIGNAL( activated() ), this, SLOT( editUndo() ) );
connect( editor, SIGNAL(undoAvailable(bool)), a, SLOT(setEnabled(bool)) );
a->addTo( tbEdit );
a->addTo( edit );
- a = new QAction( tr( "Redo" ), Resource::loadIconSet("opie-write/redo"),
+ a = new QAction( tr( "Redo" ), Resource::loadIconSet("redo"),
QString::null, 0, this, "editRedo" );
connect( a, SIGNAL( activated() ), this, SLOT( editRedo() ) );
connect( editor, SIGNAL(redoAvailable(bool)), a, SLOT(setEnabled(bool)) );
a->addTo( tbEdit );
a->addTo( edit );
edit->insertSeparator();
-
+
a = new QAction( tr( "Copy" ), Resource::loadIconSet("copy"),
QString::null, 0, this, "editCopy" );
connect( a, SIGNAL( activated() ), this, SLOT( editCopy() ) );
connect( editor, SIGNAL(copyAvailable(bool)), a, SLOT(setEnabled(bool)) );
a->addTo( tbEdit );
a->addTo( edit );
@@ -262,13 +262,13 @@ void MainWindow::setupActions()
alignMenu->insertItem( Resource::loadPixmap("opie-write/justify"), tr("Full"), Qt3::AlignJustify );
connect( alignMenu, SIGNAL(activated(int)), this, SLOT(textAlign(int)) );
}
Qt3::QTextEdit *MainWindow::currentEditor() const
{
- return editor;
+ return editor;
}
void MainWindow::doConnections( Qt3::QTextEdit *e )
{
connect( e, SIGNAL( currentFontChanged( const QFont & ) ),
this, SLOT( fontChanged( const QFont & ) ) );
@@ -504,13 +504,13 @@ void MainWindow::hideEditTools( void )
tbMenu->hide();
tbEdit->hide();
tbFont->hide();
tbStyle->hide();
}
-
+
void MainWindow::save()
{
if ( !doc )
return;
if ( !editor->isModified() )
return;