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

List:       kde-commits
Subject:    [kate] ktexteditor: Revert "Add print() method to the documents
From:       Christian Loose <christian.loose () hamburg ! de>
Date:       2011-08-19 17:20:09
Message-ID: 20110819172009.45CD0A60A9 () git ! kde ! org
[Download RAW message or body]

Git commit fae4a67ace6e2122787b4796c273e6dcc894c085 by Christian Loose.
Committed on 18/08/2011 at 21:43.
Pushed by cloose into branch 'master'.

Revert "Add print() method to the documents D-Bus interface"

This reverts commit b375424edb2e73a0abaa5452bd2cb5bede92533b.

M  +0    -4    ktexteditor/document.cpp
M  +0    -1    ktexteditor/documentadaptor_p.h
M  +0    -5    ktexteditor/document.h

http://commits.kde.org/kate/fae4a67ace6e2122787b4796c273e6dcc894c085

diff --git a/ktexteditor/document.cpp b/ktexteditor/document.cpp
index 9893a66..ba717a7 100644
--- a/ktexteditor/document.cpp
+++ b/ktexteditor/document.cpp
@@ -81,10 +81,6 @@ int DocumentAdaptor::totalCharacters() const {
   return m_document->totalCharacters();
 }
 
-bool DocumentAdaptor::print() {
-  return m_document->print();
-}
-
 int DocumentAdaptor::lineLength(int line) const {
   return m_document->lineLength(line);
 }
diff --git a/ktexteditor/document.h b/ktexteditor/document.h
index 6a611eec..8702b16 100644
--- a/ktexteditor/document.h
+++ b/ktexteditor/document.h
@@ -278,11 +278,6 @@ class KTEXTEDITOR_EXPORT Document : public KParts::ReadWritePart
      */
     virtual bool documentSaveAs () = 0;
 
-    /**
-     * Print the current file.
-     */
-    virtual bool print () = 0;
-    
  Q_SIGNALS:
     /**
     * This signal should be emitted after a document has been saved to disk or for \
                remote files uploaded.
diff --git a/ktexteditor/documentadaptor_p.h b/ktexteditor/documentadaptor_p.h
index 4395ce2..af6846a 100644
--- a/ktexteditor/documentadaptor_p.h
+++ b/ktexteditor/documentadaptor_p.h
@@ -63,7 +63,6 @@ namespace KTextEditor {
 			QString text() const;
 			int lines() const;
 			int totalCharacters() const;
-            bool print();
 		private:
 			Document *m_document;
 	};


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

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