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

List:       kde-commits
Subject:    kdeedu/kverbos/kverbos
From:       Benjamin Meyer <benjamin () csh ! rit ! edu>
Date:       2004-12-20 16:08:37
Message-ID: 20041220160837.DFB101BBAD () office ! kde ! org
[Download RAW message or body]

CVS commit by bmeyer: 

KDE_NO_COMPAT compile fixes


  M +18 -18    kverbos.cpp   1.33
  M +2 -2      kverbosdoc.cpp   1.13


--- kdeedu/kverbos/kverbos/kverbos.cpp  #1.32:1.33
@@ -137,22 +137,22 @@ void KVerbosApp::initActions()
   userResults = new KAction(i18n("&Results"), 0, 0, this, SLOT(slotUserResults()), \
actionCollection(), "user_results");  
-  fileNewWindow->setStatusText(i18n("Opens a new application window"));
-  fileOpenStandard->setStatusText(i18n("Opens the standard KVerbos verb file"));
-  fileNew->setStatusText(i18n("Creates a new document"));
-  fileOpen->setStatusText(i18n("Opens an existing document"));
-  fileOpenRecent->setStatusText(i18n("Opens a recently used file"));
-  fileSave->setStatusText(i18n("Saves the actual document"));
-  fileSaveAs->setStatusText(i18n("Saves the actual document as..."));
-  fileClose->setStatusText(i18n("Closes the actual document"));
-  filePrint ->setStatusText(i18n("Prints out the actual document"));
-  fileQuit->setStatusText(i18n("Quits the application"));
-  editCut->setStatusText(i18n("Cuts the selected section and puts it to the \
                clipboard"));
-  editCopy->setStatusText(i18n("Copies the selected section to the clipboard"));
-  editPaste->setStatusText(i18n("Pastes the clipboard contents to actual \
                position"));
-  editErfassen->setStatusText(i18n("Add new verbs."));
-  editBearbeiten->setStatusText(i18n("Edit the list of verbs."));
-  settingOptions->setStatusText(i18n("Change some options of the program"));
-  userUsername->setStatusText(i18n("Enter your name as the username"));
-  userResults->setStatusText(i18n("These are your latest results."));
+  fileNewWindow->setToolTip(i18n("Opens a new application window"));
+  fileOpenStandard->setToolTip(i18n("Opens the standard KVerbos verb file"));
+  fileNew->setToolTip(i18n("Creates a new document"));
+  fileOpen->setToolTip(i18n("Opens an existing document"));
+  fileOpenRecent->setToolTip(i18n("Opens a recently used file"));
+  fileSave->setToolTip(i18n("Saves the actual document"));
+  fileSaveAs->setToolTip(i18n("Saves the actual document as..."));
+  fileClose->setToolTip(i18n("Closes the actual document"));
+  filePrint ->setToolTip(i18n("Prints out the actual document"));
+  fileQuit->setToolTip(i18n("Quits the application"));
+  editCut->setToolTip(i18n("Cuts the selected section and puts it to the \
clipboard")); +  editCopy->setToolTip(i18n("Copies the selected section to the \
clipboard")); +  editPaste->setToolTip(i18n("Pastes the clipboard contents to actual \
position")); +  editErfassen->setToolTip(i18n("Add new verbs."));
+  editBearbeiten->setToolTip(i18n("Edit the list of verbs."));
+  settingOptions->setToolTip(i18n("Change some options of the program"));
+  userUsername->setToolTip(i18n("Enter your name as the username"));
+  userResults->setToolTip(i18n("These are your latest results."));
 
   // icons

--- kdeedu/kverbos/kverbos/kverbosdoc.cpp  #1.12:1.13
@@ -166,5 +166,5 @@ bool KVerbosDoc::openDocument(const KURL
         if ( file.open(IO_ReadOnly) ) {    // file opened successfully
                 deleteContents();
-        if ((url.filename().right(4) == "html")||(url.filename().right(3) == "htm"))
+        if ((url.fileName().right(4) == "html")||(url.fileName().right(3) == "htm"))
         {
                 // qWarning("öffnen eines HTML-files");
@@ -424,5 +424,5 @@ bool KVerbosDoc::saveDocument(const KURL
         if ( file.open(IO_WriteOnly) )
         {    // file opened successfully
-                if ((url.filename().right(4) == "html")||(url.filename().right(3) == \
"htm")) +                if ((url.fileName().right(4) == \
"html")||(url.fileName().right(3) == "htm"))  {
                         // qWarning("als HTML speichern");


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

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