# qwt_plot_xml.cpp

    00001 /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
    00002  * Qwt Widget Library
    00003  * Copyright (C) 1997   Josef Wilgen
    00004  * Copyright (C) 2002   Uwe Rathmann
    00005  *
    00006  * This library is free software; you can redistribute it and/or
    00007  * modify it under the terms of the Qwt License, Version 1.0
    00008  *****************************************************************************/
    00009
    00010 #include "qwt_plot.h"
    00011
    00012 void QwtPlot::applyProperties(const QString &xmlDocument)
    00013 {
    00014 #if 1
    00015     // Temporary dummy code, for designer tests
    00016     setTitle(xmlDocument);
    00017     replot();
    00018 #endif
    00019 }
    00020
    00021 QString QwtPlot::grabProperties() const
    00022 {
    00023 #if 1
    00024     // Temporary dummy code, for designer tests
    00025     return title().text();
    00026 #endif
    00027 }