1
0
Kandrashin Denis 13 жил өмнө
parent
commit
e9b50fe01f

+ 5 - 0
source/fb2html.cpp

@@ -121,6 +121,11 @@ void FbTextElement::getChildren(FbElementList &list)
     }
 }
 
+bool FbTextElement::hasScheme() const
+{
+    return subtypes();
+}
+
 const FbTextElement::TypeList * FbTextElement::subtypes() const
 {
     static Scheme scheme;

+ 1 - 0
source/fb2html.h

@@ -59,6 +59,7 @@ public:
     FbTextElement &operator=(const QWebElement &x) { QWebElement::operator=(x); return *this; }
     FbTextElement insertInside(const QString &style, const QString &html);
     void getChildren(FbElementList &list);
+    bool hasScheme() const;
     QString location();
 
 public: