[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdevelop/parts/filter
From:       Alexander Dymo <cloudtemple () mksat ! net>
Date:       2003-07-29 22:05:19
[Download RAW message or body]

CVS commit by dymo: 

Added tooltips for actions and captions for dialogs.
CCMAIL: 61758-done@bugs.kde.org


  M +13 -6     filterpart.cpp   1.10


--- kdevelop/parts/filter/filterpart.cpp  #1.9:1.10
@@ -39,8 +39,10 @@ FilterPart::FilterPart(QObject *parent, 
                           this, SLOT(slotShellInsert()),
                           actionCollection(), "tools_insertshell" );
+    action->setToolTip(i18n("Executes a shell command and outputs it's result into \
the current document"));  
     action = new KAction( i18n("Filter Selection Through Command..."), 0,
                           this, SLOT(slotShellFilter()),
                           actionCollection(), "tools_filtershell" );
+    action->setToolTip(i18n("Filters selection trough a shell command and outputs \
it's result into the current document"));  
     m_insertDialog = 0;
@@ -86,6 +88,8 @@ void FilterPart::slotShellInsert()
 
     if (!m_insertDialog)
+    {
         m_insertDialog = new ShellInsertDialog();
-
+        m_insertDialog->setCaption(i18n("Execute Command"));
+    }
     if (m_insertDialog->exec()) {
         uint line, col;
@@ -130,5 +134,8 @@ void FilterPart::slotShellFilter()
 
     if (!m_filterDialog)
+    {
         m_filterDialog = new ShellFilterDialog();
+        m_filterDialog->setCaption(i18n("Filter Selection Through Command"));
+    }
 
     kdDebug(9029) << "Old text: " << selectioniface->selection()<< endl;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic