[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kspread/ui
From: Sebastian Sauer <mail () dipe ! org>
Date: 2008-03-01 18:09:00
Message-ID: 1204394940.670308.29065.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 780962 by sebsauer:
icons, full title and icontext for the external data actions
M +14 -11 View.cpp
--- trunk/koffice/kspread/ui/View.cpp #780961:780962
@@ -1049,23 +1049,26 @@
connect(actions->insertPicture, SIGNAL(triggered(bool)),view, SLOT( \
insertPicture() )); actions->insertPicture->setToolTip(i18n("Insert a picture"));
+ actions->insertFromClipboard = new KAction(KIcon("klipper"), i18n("Insert From \
&Clipboard..."), view); + \
actions->insertFromClipboard->setIconText(i18n("Clipboard")); + \
ac->addAction("insertFromClipboard", actions->insertFromClipboard ); + \
connect(actions->insertFromClipboard, SIGNAL(triggered(bool)),view, SLOT( \
insertFromClipboard() )); + actions->insertFromClipboard->setToolTip(i18n("Insert \
CSV data from the clipboard to the current cursor position/selection")); +
+ actions->insertFromTextfile = new KAction(KIcon("text-plain"), i18n("Insert From \
&Text File..."), view); + actions->insertFromTextfile->setIconText(i18n("Text \
File")); + ac->addAction("insertFromTextfile", actions->insertFromTextfile );
+ connect(actions->insertFromTextfile, SIGNAL(triggered(bool)),view, SLOT( \
insertFromTextfile() )); + actions->insertFromTextfile->setToolTip(i18n("Insert data \
from a text file to the current cursor position/selection")); +
#ifndef QT_NO_SQL
- actions->insertFromDatabase = new KAction(i18n("From &Database..."), view);
+ actions->insertFromDatabase = new KAction(KIcon("network-server-database"), \
i18n("Insert From &Database..."), view); + \
actions->insertFromDatabase->setIconText(i18n("Database")); \
ac->addAction("insertFromDatabase", actions->insertFromDatabase ); \
connect(actions->insertFromDatabase, SIGNAL(triggered(bool)),view, SLOT( \
insertFromDatabase() )); actions->insertFromDatabase->setToolTip(i18n("Insert data \
from a SQL database")); #endif
- actions->insertFromTextfile = new KAction(i18n("From &Text File..."), view);
- ac->addAction("insertFromTextfile", actions->insertFromTextfile );
- connect(actions->insertFromTextfile, SIGNAL(triggered(bool)),view, SLOT( \
insertFromTextfile() ));
- actions->insertFromTextfile->setToolTip(i18n("Insert data from a text file to the \
current cursor position/selection"));
-
- actions->insertFromClipboard = new KAction(i18n("From &Clipboard..."), view);
- ac->addAction("insertFromClipboard", actions->insertFromClipboard );
- connect(actions->insertFromClipboard, SIGNAL(triggered(bool)),view, SLOT( \
insertFromClipboard() ));
- actions->insertFromClipboard->setToolTip(i18n("Insert CSV data from the clipboard \
to the current cursor position/selection"));
-
// actions->transform = new KAction( i18n("Transform Object..."), "rotate",
// 0, view, SLOT( transformPart() ), ac, "transform" );
// actions->transform->setToolTip(i18n("Rotate the contents of the cell"));
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic