[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdevelop/lib/interfaces
From: Adam Treat <treat () kde ! org>
Date: 2005-10-13 5:42:36
Message-ID: 1129182156.275408.20126.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 470099 by treat:
cd
M +6 -6 KDevPartControllerIface.cpp
M +3 -3 KDevPartControllerIface.h
M +14 -14 kdevpartcontroller.h
--- trunk/KDE/kdevelop/lib/interfaces/KDevPartControllerIface.cpp #470098:470099
@@ -51,15 +51,15 @@
}
-void KDevPartControllerIface::saveAllFiles()
+void KDevPartControllerIface::saveAllDocuments()
{
- m_controller->saveAllFiles();
+ m_controller->saveAllDocuments();
}
-void KDevPartControllerIface::revertAllFiles()
+void KDevPartControllerIface::revertAllDocuments()
{
- m_controller->revertAllFiles();
+ m_controller->revertAllDocuments();
}
@@ -82,9 +82,9 @@
emitDCOPSignal("projectClosed()", QByteArray());
}
-bool KDevPartControllerIface::closeAllFiles( )
+bool KDevPartControllerIface::closeAllDocuments( )
{
- return m_controller->closeAllFiles();
+ return m_controller->closeAllDocuments();
}
uint KDevPartControllerIface::documentState( const KURL & url )
--- trunk/KDE/kdevelop/lib/interfaces/KDevPartControllerIface.h #470098:470099
@@ -41,10 +41,10 @@
void editDocument(const QString &url, int lineNum);
void showDocument(const QString &url, bool newWin);
- void saveAllFiles();
- void revertAllFiles();
+ void saveAllDocuments();
+ void revertAllDocuments();
- bool closeAllFiles();
+ bool closeAllDocuments();
uint documentState( const KURL &url );
private slots:
--- trunk/KDE/kdevelop/lib/interfaces/kdevpartcontroller.h #470098:470099
@@ -97,28 +97,28 @@
/**@return The list of open documents*/
virtual KURL::List openURLs() = 0;
- /**Saves all open files.
+ /**Saves all open documents.
@return false if it was cancelled by the user, true otherwise */
- virtual bool saveAllFiles() = 0;
+ virtual bool saveAllDocuments() = 0;
- /**Saves a list of files.
+ /**Saves a list of documents.
@param list The list of URLs to save.
@return false if it was cancelled by the user, true otherwise */
- virtual bool saveFiles(const KURL::List &list) = 0;
+ virtual bool saveDocuments(const KURL::List &list) = 0;
- /**Reloads all open files.*/
- virtual void revertAllFiles() = 0;
+ /**Reloads all open documents.*/
+ virtual void revertAllDocuments() = 0;
- /**Reloads a list of files.
+ /**Reloads a list of documents.
* @param list The list of URLs to reload.*/
- virtual void revertFiles(const KURL::List &list) = 0;
+ virtual void revertDocuments(const KURL::List &list) = 0;
- /**Closes all open files.*/
- virtual bool closeAllFiles() = 0;
+ /**Closes all open documents.*/
+ virtual bool closeAllDocuments() = 0;
- /**Closes a list of files.
- @param list The list of URLs for the files to close.*/
- virtual bool closeFiles(const KURL::List &list) = 0;
+ /**Closes a list of documents.
+ @param list The list of URLs for the documents to close.*/
+ virtual bool closeDocuments(const KURL::List &list) = 0;
/**Closes this part (closes the window/tab for this part).
@param part The part to close.
@@ -145,7 +145,7 @@
/**Emitted when a document has been closed.*/
void documentClosed(const KURL &);
- /**Emitted when a file has been modified outside of KDevelop.*/
+ /**Emitted when a document has been modified outside of KDevelop.*/
void documentExternallyModifed( const KURL & );
/**This is typically emitted when an editorpart does "save as"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic