{"id":192698,"date":"2013-09-08T03:16:03","date_gmt":"2013-09-07T23:16:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=192698"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=192698","title":{"rendered":"<span class=\"post_title\">\u0415\u0449\u0435 \u043e\u0434\u0438\u043d \u0433\u0430\u0439\u0434 \u043f\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044e \u043f\u043b\u0430\u0437\u043c\u043e\u0438\u0434\u0430: \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f, \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0438 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/76f\/e1d\/79d\/76fe1d79dbbba49fcf34ceca69d6fcc3.png\"\/><br \/>  <sub>Dr.Konqi, \u043c\u044b \u0441 \u043d\u0438\u043c \u0434\u0440\u0443\u0436\u0438\u043c, \u044f \u0435\u0433\u043e \u0447\u0430\u0441\u0442\u043e \u0432\u0438\u0436\u0443 %)<\/sub>  <\/p>\n<h4>\u0412\u043c\u0435\u0441\u0442\u043e \u043f\u0440\u0435\u0434\u0438\u0441\u043b\u043e\u0432\u0438\u044f<\/h4>\n<p>  \u041f\u0440\u0438\u0432\u0435\u0442!<br \/>  \u041d\u0430 \u0445\u0430\u0431\u0440\u0435 \u0443\u0436\u0435 <a href=\"http:\/\/habrahabr.ru\/post\/185266\/\">\u043f\u0438\u0441\u0430\u043b\u0438<\/a> \u043f\u0440\u043e \u0442\u043e, \u0447\u0442\u043e \u0432\u0441\u0435 \u043f\u043b\u0430\u0437\u043c\u043e\u0438\u0434\u044b \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 QML\/JS, \u043d\u043e \u044f \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u044e \u0438\u0437\u043c\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430\u0434 <i>\u0442\u0440\u0443\u043f\u043e\u043c CPP<\/i> \u0438 \u043f\u0438\u0448\u0443 \u0432\u0438\u0434\u0436\u0435\u0442\u044b \u0434\u043b\u044f \u043f\u043b\u0430\u0437\u043c\u044b \u043d\u0430 \u043f\u043b\u044e\u0441\u0430\u0445. \u041d\u043e, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043d\u0435 \u0432\u0441\u0435 \u0442\u0430\u043a \u043f\u043b\u043e\u0445\u043e, %username%?<\/p>\n<p>  \u0414\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043f\u043b\u0430\u0437\u043c\u043e\u0438\u0434\u0430 \u043d\u0430 C++ \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c\u0441\u044f \u043a <a href=\"http:\/\/habrahabr.ru\/post\/76371\/\">\u044d\u0442\u043e\u0439<\/a> \u0441\u0442\u0430\u0442\u044c\u0435. \u0412 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0439 \u0436\u0435 \u0441\u0442\u0430\u0442\u044c\u0435 \u043d\u0430 \u0433\u043e\u043b\u044b\u0439 \u0432\u0438\u0434\u0436\u0435\u0442 \u043c\u044b \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0444\u0438\u0447 (\u0432 \u043f\u043e\u0440\u044f\u0434\u043a\u0435 \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u043d\u0438\u044f) \u2014 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441, \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0438 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f.<br \/>  \u0415\u0441\u043b\u0438 \u043a\u043e\u0433\u043e \u0437\u0430\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043b\u043e \u2014 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u043d\u0438\u0436\u0435.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h4>\u0418\u0434\u0435\u044f \u0432\u0438\u0434\u0436\u0435\u0442\u0430<\/h4>\n<p>  \u0422\u0430\u043a \u043a\u0430\u043a \u0437\u0430\u0434\u0430\u0447\u043a\u0430 \u0434\u043b\u044f \u043c\u0435\u043d\u044f \u0431\u044b\u043b\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u0447\u0435\u0431\u043d\u043e-\u0441\u0430\u043c\u043e\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0439, \u0442\u043e \u0438\u0434\u0435\u044f \u0432\u0438\u0434\u0436\u0435\u0442\u0430 \u043f\u0440\u043e\u0441\u0442\u0430: \u0432\u043e\u0437\u044c\u043c\u0435\u043c \u0438 \u0444\u043e\u0440\u043a\u043d\u0435\u043c \u0432\u0438\u0434\u0436\u0435\u0442 <a href=\"http:\/\/gnome-look.org\/content\/show.php\/Oblique+Strategies?content=78405\">Oblique Strategies<\/a> \u0434\u043b\u044f GNOME. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0432 \u043d\u0430\u0448\u0435\u043c \u0432\u0438\u0434\u0436\u0435\u0442\u0435 \u0431\u0443\u0434\u0435\u0442:  <\/p>\n<ul>\n<li>Label \u0441 \u0442\u0435\u043a\u0441\u0442\u043e\u043c \u0441 <a href=\"http:\/\/www.rtqe.net\/ObliqueStrategies\/\">\u043a\u0430\u0440\u0442\u043e\u0447\u0435\u043a<\/a><\/li>\n<li>Label \u0441 \u043a\u043e\u043f\u0438\u0440\u0430\u0439\u0442\u043e\u043c (\u0441\u043b\u0443\u0436\u0438\u0442 \u0432 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0434\u043b\u044f \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0440\u0435\u0434\u0430\u043a\u0446\u0438\u0438)<\/li>\n<li>\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441, \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0438\u0439 \u0432 \u0441\u0435\u0431\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u0442\u0435\u043a\u0441\u0442\u0430 \u0438 \u0432\u044b\u0431\u043e\u0440 \u0440\u0435\u0434\u0430\u043a\u0446\u0438\u0438<\/li>\n<li>\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0442\u0435\u043a\u0441\u0442\u0430 \u043f\u043e \u043a\u043b\u0438\u043a\u0443 \u043c\u044b\u0448\u043a\u043e\u0439<\/li>\n<li>\u041e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0430\u0432\u0442\u043e\u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f<\/li>\n<li>\u041e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0432\u044b\u0432\u043e\u0434\u0430 \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043f\u0440\u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0441\u043c\u0435\u043d\u0435 \u0432 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f<\/li>\n<\/ul>\n<p>  <\/p>\n<h4>\u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b<\/h4>\n<p>  <\/p>\n<h5>\u0412\u0438\u0434\u0436\u0435\u0442<\/h5>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0425\u0438\u0434\u0435\u0440<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cpp\">#ifndef OBLIKUESTRATEGIES_H #define OBLIKUESTRATEGIES_H  #include &lt;Plasma\/Applet&gt; #include &lt;Plasma\/Label&gt;  #include &lt;ui_configwindow.h&gt;  class QGraphicsLinearLayout;  class oblikuestrategies : public Plasma::Applet {   Q_OBJECT public:   oblikuestrategies(QObject *parent, const QVariantList &args);   ~oblikuestrategies();   int setMessagesText();   void init();  public slots:   int autoUpdateEvent();   int sendNotification(QString eventId, int num);   int updateEvent();   void mousePressEvent(QGraphicsSceneMouseEvent *event);   \/\/ for configuration interface   int setAutoUpdate();   void configAccepted();   void configChanged();  protected:   void createConfigurationInterface(KConfigDialog *parent);  private:   \/\/ ui   Plasma::Label *main_label;   Plasma::Label *info_label;   QTimer *timer;   \/\/ variables   bool autoUpdate_bool, notify_bool;   int autoUpdate_int, edition, fontSize, fontWeight;   QString fontFamily, fontColor, fontStyle;   QStringList formatLine, copyright;   QList&lt;QStringList&gt; mess;   \/\/ configuration interface   Ui::ConfigWindow uiConfig; };  K_EXPORT_PLASMA_APPLET(oblikue-strategies, oblikuestrategies) #endif \/* OBLIKUESTRATEGIES_H *\/<\/code><\/pre>\n<\/div>\n<\/div>\n<p>  \u042d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u044d\u0434\u0430\u043a\u0430\u044f \u00ab\u043a\u0430\u0440\u0442\u0430\u00bb. \u0421\u0443\u0442\u044c <b>K_EXPORT_PLASMA_APPLET<\/b> \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u043d\u0430 \u0432 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u0432\u044b\u0448\u0435 \u0441\u0442\u0430\u0442\u044c\u0435 (\u044d\u0442\u043e \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u0430\u044f \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0438\u0430\u043b\u044c\u043d\u043e \u0432\u0430\u0436\u043d\u0430\u044f \u0448\u0442\u0443\u043a\u0430 \u0432 \u0445\u0438\u0434\u0435\u0440\u0435). \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043c \u043f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438, \u043e\u0431\u044a\u044f\u0432\u0438\u043c \u043a\u043b\u0430\u0441\u0441 \u0438 \u0434\u0435\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440  <\/p>\n<pre><code class=\"cpp\">#include &quot;oblikue-strategies.h&quot; #include &lt;QGraphicsLinearLayout&gt; #include &lt;plasma\/theme.h&gt;  oblikuestrategies::oblikuestrategies(QObject *parent, const QVariantList &args) :   Plasma::Applet(parent, args) {   setBackgroundHints(DefaultBackground);   setHasConfigurationInterface(true); }  oblikuestrategies::~oblikuestrategies() {   delete info_label;   delete main_label;   delete timer; }<\/code><\/pre>\n<p>  \u043d\u0438\u0447\u0435\u0433\u043e \u043e\u0441\u043e\u0431\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e. \u0417\u0430\u043c\u0435\u0447\u0443 \u0442\u043e\u043b\u044c\u043a\u043e, \u0447\u0442\u043e \u043c\u044b \u0442\u0443\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438, \u0447\u0442\u043e \u0443 \u0430\u043f\u043f\u043b\u0435\u0442\u0430 \u0435\u0441\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441. \u0421\u0443\u0442\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0431\u0443\u0434\u0435\u0442 \u044f\u0441\u043d\u0430 \u0447\u0443\u0442\u044c \u043d\u0438\u0436\u0435. \u0414\u0430\u043b\u0435\u0435 \u0441\u043e\u0431\u0435\u0440\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438:  <\/p>\n<pre><code class=\"cpp\">void oblikuestrategies::init() {   if (setMessagesText() != 0)     return;    \/\/ generate ui   \/\/ layout   QGraphicsLinearLayout *layout = new QGraphicsLinearLayout(this);   layout-&gt;setOrientation(Qt::Vertical);   \/\/ label   layout-&gt;addStretch(1);   main_label = new Plasma::Label(this);   main_label-&gt;setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);   main_label-&gt;setToolTip(qApp-&gt;translate(&quot;tooltip&quot;, &quot;Click here to update message&quot;));   layout-&gt;addItem(main_label);   layout-&gt;addStretch(1);   \/\/ copyright label   info_label = new Plasma::Label(this);   layout-&gt;addItem(info_label); }<\/code><\/pre>\n<p>  \u0424\u0443\u043d\u043a\u0446\u0438\u044f <b>int setMessagesText()<\/b> \u0437\u0430\u0431\u0438\u0432\u0430\u0435\u0442 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 <i>copyright<\/i> \u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0442\u0435\u043a\u0441\u0442 \u043a\u0430\u0440\u0442 (<i>mess<\/i>), \u043f\u043e\u043f\u0443\u0442\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0438\u0437 \u0434\u0432\u0443\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 <i>formatLine<\/i>. \u0417\u0430\u0442\u0435\u043c \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u0435\u043c Layout, \u043d\u0430 \u043d\u0435\u0439 \u0434\u0432\u0435 \u043c\u0435\u0442\u043a\u0438 \u2014 \u043e\u0434\u043d\u0430 \u0434\u043b\u044f \u0442\u0435\u043a\u0441\u0442\u0430, \u0434\u0440\u0443\u0433\u0430\u044f \u0434\u043b\u044f \u043a\u043e\u043f\u0438\u0440\u0430\u0439\u0442\u0430 \u2014 \u0438 \u043a\u0438\u0434\u0430\u0435\u043c \u0440\u0430\u0441\u043f\u043e\u0440\u043a\u0438 (<b>stretch<\/b>) \u0434\u043b\u044f \u043a\u0440\u0430\u0441\u0438\u0432\u043e\u0433\u043e \u0432\u0438\u0434\u0430. \u0414\u0430\u043b\u0435\u0435 \u043f\u0435\u0440\u0435\u0439\u0434\u0435\u043c \u043a \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0443  <\/p>\n<h5>\u041a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f<\/h5>\n<p>  \u041d\u0430\u0440\u0438\u0441\u0443\u0435\u043c \u0444\u043e\u0440\u043c\u043e\u0447\u043a\u0443. \u041f\u0443\u0441\u0442\u044c \u043e\u043d\u0430 \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a\u043e\u0439:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/94c\/0e4\/7f6\/94c0e47f6f818a4ab2cf1de0e403d1a2.png\"\/><br \/>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0438\u043a\u0440\u0443\u0442\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u0438. \u0421\u0447\u0438\u0442\u044b\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0430:  <\/p>\n<pre><code class=\"cpp\">void oblikuestrategies::configChanged() {   KConfigGroup cg = config();    edition = cg.readEntry(&quot;edition&quot;, 1);   fontFamily = cg.readEntry(&quot;font_family&quot;, &quot;Terminus&quot;); ... }<\/code><\/pre>\n<p>  \u041e\u0431\u0440\u0430\u0449\u0443 \u0432\u0430\u0448\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0442\u043e, \u043a\u0430\u043a \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435. \u041c\u0435\u0442\u043e\u0434 <b>readEntry<\/b> \u0438\u043c\u0435\u0435\u0442 \u0434\u0432\u0430 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430 \u2014 \u043f\u0435\u0440\u0432\u044b\u0439 \u0438\u043c\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u0435 (\u0432 \u0433\u043b\u0443\u0431\u0438\u043d\u0435 \u0445\u043e\u043c\u044f\u043a\u0430 <i>plasma-desktop-appletrc<\/i>), \u0432\u0442\u043e\u0440\u043e\u0439 \u2014 \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435. \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438, \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <b>KConfigGroup<\/b>, \u0431\u0443\u0434\u0443\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u044b \u0432 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u043c \u0432\u044b\u0448\u0435 \u0444\u0430\u0439\u043b\u0435. \u0414\u043e\u0431\u0430\u0432\u043b\u044e, \u0447\u0442\u043e \u044d\u0442\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u044b\u0437\u043e\u0432\u0435\u0442\u0441\u044f, \u0435\u0441\u043b\u0438 \u0431\u044b\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0432\u0438\u0434\u0436\u0435\u0442\u0430.<br \/>  \u041d\u0435 \u0437\u0430\u0431\u044b\u043b\u0438 \u043f\u0440\u043e \u0437\u0430\u043f\u0438\u0441\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0430:  <\/p>\n<pre><code class=\"cpp\">void oblikuestrategies::configAccepted() {   KConfigGroup cg = config();    cg.writeEntry(&quot;edition&quot;, uiConfig.comboBox_edition-&gt;currentIndex()+1);   cg.writeEntry(&quot;font_family&quot;, uiConfig.fontComboBox_font-&gt;currentFont().family()); ... }<\/code><\/pre>\n<p>  \u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u043d\u0438\u044e. \u041c\u0435\u0442\u043e\u0434 <b>writeEntry<\/b> \u0442\u0430\u043a\u0436\u0435 \u0438\u043c\u0435\u0435\u0442 2 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430 \u2014 \u0438\u043c\u044f \u0438 \u0442\u043e, \u043e\u0442\u043a\u0443\u0434\u0430 \u0431\u0440\u0430\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f. \u0422\u0435\u043f\u0435\u0440\u044c \u0441\u0430\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043f\u0440\u0438\u043a\u0440\u0443\u0442\u0438\u043c:  <\/p>\n<pre><code class=\"cpp\">void oblikuestrategies::createConfigurationInterface(KConfigDialog *parent) {   QWidget *configwin = new QWidget;   uiConfig.setupUi(configwin);    uiConfig.comboBox_edition-&gt;setCurrentIndex(edition-1); ...   parent-&gt;addPage(configwin, i18n(&quot;Oblikue Strategies&quot;), Applet::icon());   connect(parent, SIGNAL(okClicked()), this, SLOT(configAccepted())); }<\/code><\/pre>\n<p>  \u041e\u0431\u044a\u044f\u0432\u0438\u043b\u0438 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441, \u0432\u044b\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f (\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0443\u0436\u0435 \u0441\u0447\u0438\u0442\u0430\u043d\u044b \u0432 <b>init()<\/b> \u0432\u044b\u0437\u043e\u0432\u043e\u043c \u043c\u0435\u0442\u043e\u0434\u0430 <b>configChanged()<\/b>). \u041f\u043e\u0442\u043e\u043c \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043a \u043e\u043a\u043e\u0448\u0435\u0447\u043a\u0443 (\u043c\u0435\u0442\u043e\u0434 <b>addPage<\/b> \u2014 \u043f\u0435\u0440\u0432\u044b\u0439 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u0447\u0442\u043e, \u0432\u0442\u043e\u0440\u043e\u0439 \u043a\u0430\u043a \u043d\u0430\u0437\u0432\u0430\u0442\u044c \u0438 \u0442\u0440\u0435\u0442\u0438\u0439 \u0438\u043a\u043e\u043d\u043a\u0430). \u0418 \u0441\u0432\u044f\u0437\u0430\u043b\u0438 \u043a\u043d\u043e\u043f\u043a\u0443 \u0441 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435\u043c \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a. \u0414\u0430\u043b\u044c\u0448\u0435 \u043f\u0440\u0438\u043a\u0440\u0443\u0442\u0438\u043c \u044d\u0432\u0435\u043d\u0442\u044b.  <\/p>\n<h5>\u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u0439<\/h5>\n<p>  \u041f\u0443\u0441\u0442\u044c \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u0435\u0442\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u0437\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0442\u0435\u043a\u0441\u0442\u0430. \u041d\u0430\u0437\u043e\u0432\u0435\u043c \u0435\u0433\u043e <b>int updateEvent()<\/b> (\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043d\u043e\u043c\u0435\u0440 \u0432\u044b\u0437\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f). \u041f\u0440\u0438\u043a\u0440\u0443\u0442\u0438\u043c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043a\u043b\u0438\u043a\u0430 \u043c\u044b\u0448\u0438:  <\/p>\n<pre><code class=\"cpp\">void oblikuestrategies::mousePressEvent(QGraphicsSceneMouseEvent *event) {   \/\/ mouse click event   if (event-&gt;buttons() == Qt::LeftButton)     updateEvent(); }<\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u0434\u0432\u043e\u0439\u043d\u043e\u0439 \u043a\u043b\u0438\u043a, \u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043e\u0442 <b>mouseDoubleClickEvent<\/b> \u0438, \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 \u043d\u0435 \u043d\u0443\u0436\u043d\u0430. \u0422\u0435\u043f\u0435\u0440\u044c \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0430\u0432\u0442\u043e\u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u043c\u0435\u0442\u043e\u0434 <b>init()<\/b> \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u0442\u0430\u0439\u043c\u0435\u0440\u0430:  <\/p>\n<pre><code class=\"cpp\">... \/\/ timer   timer = new QTimer(this);   timer-&gt;setSingleShot(false); ...<\/code><\/pre>\n<p>  \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u0435\u0433\u043e \u0432 \u00ab\u043c\u043d\u043e\u0433\u043e\u0440\u0430\u0437\u043e\u0432\u043e\u0435\u00bb \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 (<b>setSingleShot(false)<\/b>). \u0414\u0430\u043b\u0435\u0435 \u043f\u0440\u0438\u043a\u0440\u0443\u0442\u0438\u043c \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0442\u0430\u0439\u043c\u0435\u0440\u0430 \u0432 \u043c\u0435\u0442\u043e\u0434\u0435 <b>configChanged()<\/b>:  <\/p>\n<pre><code class=\"cpp\">  if (autoUpdate_bool == true)   {     disconnect(timer, SIGNAL(timeout()), this, SLOT(autoUpdateEvent()));     timer-&gt;stop();   } \/\/ \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 ...   if (autoUpdate_bool == true)   {     connect(timer, SIGNAL(timeout()), this, SLOT(autoUpdateEvent()));     timer-&gt;start(autoUpdate_int * MSEC_IN_MIN);   }<\/code><\/pre>\n<p>  \u041d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439: \u043c\u0435\u0442\u043e\u0434 <b>start()<\/b> \u0438\u043c\u0435\u0435\u0442 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u043f\u0435\u0440\u0438\u043e\u0434 \u0432 \u043c\u0441\u0435\u043a. \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0430\u0432\u0442\u043e\u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f:  <\/p>\n<pre><code class=\"cpp\">int oblikuestrategies::autoUpdateEvent() {   \/\/ auto update text   int num = updateEvent();   if (notify_bool == true)     if (sendNotification(QString(&quot;newMessage&quot;), num) != 0)       return 1;   return 0; }<\/code><\/pre>\n<p>  \u0422\u0443\u0442 \u0442\u043e \u043d\u0430\u043c \u0438 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u043b\u043e\u0441\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u043e\u0435 \u043c\u0435\u0442\u043e\u0434\u043e\u043c <b>updateEvent()<\/b>. \u0414\u0430\u043d\u043d\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0442\u0435\u043a\u0441\u0442\u0430, \u0437\u0430\u0442\u0435\u043c, \u0435\u0441\u043b\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e <i>notify_bool == true<\/i> \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u043c\u0435\u0442\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u0432 KDE.  <\/p>\n<h5>\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f<\/h5>\n<p>  \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0444\u0430\u0439\u043b\u0438\u043a plasma_applet_oblikue-strategies.notifyrc  <\/p>\n<pre><code class=\"bash\">[Global] IconName=oblikue-strategies Name=Oblikue Strategies Comment=Oblikue Strategies  [Event\/newMessage] Name=New message Comment=There is auto updated message in widget Action=Popup <\/code><\/pre>\n<p>  \u041f\u0435\u0440\u0432\u043e\u0435 \u2014 \u043e\u0431\u0449\u0438\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438, \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0431\u0435\u0437 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0435\u0432. \u0414\u0430\u043b\u044c\u0448\u0435 \u0438\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0438 \u0447\u0442\u043e \u043e\u043d\u0438 \u0438\u0437 \u0441\u0435\u0431\u044f \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442. \u0422\u0435\u043f\u0435\u0440\u044c \u0432\u0435\u0440\u043d\u0435\u043c\u0441\u044f \u043a \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0430\u043c. \u041e\u0434\u0438\u043d \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043c\u0435\u0442\u043e\u0434:  <\/p>\n<pre><code class=\"cpp\">int oblikuestrategies::sendNotification(QString eventId, int num) {   \/\/ send notification   KNotification *notification = new KNotification(eventId);   notification-&gt;setComponentData(KComponentData(&quot;plasma_applet_oblikue-strategies&quot;));   notification-&gt;setTitle(QString(i18n(&quot;Oblikue Strategies&quot;)));   notification-&gt;setText(mess[edition-1][num]);   notification-&gt;sendEvent();   delete notification;   return 0; }<\/code><\/pre>\n<p>  eventId \u2014 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043d\u0430\u0448 \u044d\u0432\u0435\u043d\u0442. \u0412 \u043c\u0435\u0442\u043e\u0434\u0435 <b>setComponentData<\/b> \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0438\u043c\u044f \u0430\u043f\u043f\u043b\u0435\u0442\u0430 (\u0447\u0442\u043e\u0431 \u043d\u0435 \u043f\u0443\u0442\u0430\u0442\u044c\u0441\u044f \u0438 \u0434\u043b\u044f \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u0438\u044f). \u0421\u0442\u0430\u0432\u0438\u043c \u043f\u043e\u0434\u043f\u0438\u0441\u044c, \u0442\u0435\u043a\u0441\u0442 \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443.  <\/p>\n<h5>\u0421\u0431\u043e\u0440\u043a\u0430<\/h5>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">ls -1 sources<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">CMakeLists.txt configwindow.ui oblikue-strategies.cpp oblikue-strategies.h oblikue-strategies.png plasma-applet-oblikue-strategies.desktop plasma_applet_oblikue-strategies.notifyrc <\/code><\/pre>\n<\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">CMakeLists.txt<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cmake\">project (plasma_applet_oblikue-strategies)  find_package (KDE4 REQUIRED) include (KDE4Defaults)  add_definitions (${QT_DEFINITIONS}                   ${KDE4_DEFINITIONS}) include_directories (${CMAKE_SOURCE_DIR}                       ${CMAKE_BINARY_DIR}                       ${KDE4_INCLUDES})  set (PLUGIN_NAME ${PROJECT_NAME}) file (GLOB PROJECT_DESKTOP *.desktop) file (GLOB PROJECT_ICON *.png) file (GLOB PROJECT_NOTIFY *.notifyrc) file (GLOB PROJECT_SOURCE *.cpp) file (GLOB PROJECT_UI *.ui)  kde4_add_ui_files (PROJECT_SOURCE ${PROJECT_UI}) kde4_add_plugin (${PLUGIN_NAME} ${PROJECT_SOURCE}) target_link_libraries (${PLUGIN_NAME} ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS})  # install install (TARGETS ${PLUGIN_NAME} DESTINATION ${PLUGIN_INSTALL_DIR}) install (FILES ${PROJECT_DESKTOP} DESTINATION ${SERVICES_INSTALL_DIR}) install (FILES ${PROJECT_ICON} DESTINATION ${ICON_INSTALL_DIR}) install (FILES ${PROJECT_NOTIFY} DESTINATION ${DATA_INSTALL_DIR}\/${PLUGIN_NAME}) <\/code><\/pre>\n<\/div>\n<\/div>\n<p>  \u0424\u0430\u0439\u043b\u0438\u043a \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 (\u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f \u0447\u0435\u043b\u043e\u0432\u0435\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0444\u0430\u043a\u0442\u043e\u0440\u0430, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440), \u043d\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u044b\u0439 (\u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0438\u043c\u044f \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0430 \u043d\u0443\u0436\u043d\u043e\u0435). \u0418\u0437 \u043e\u0442\u043b\u0438\u0447\u0438\u0439 \u043e\u0442 \u043e\u0431\u044b\u0447\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u0441\u0431\u043e\u0440\u043e\u043a \u2014 \u0432\u044b\u0437\u043e\u0432 <b>kde4_add_ui_files<\/b> \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430. \u0418 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0444\u0430\u0439\u043b\u0430 \u0441 \u043d\u043e\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f\u043c\u0438.  <\/p>\n<h4>\u041f\u043e\u0441\u0442\u0441\u043a\u0440\u0438\u043f\u0442\u0443\u043c<\/h4>\n<p>  <a href=\"https:\/\/github.com\/arcan1s\/oblikuestrategies\">\u0418\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438<\/a> \u044d\u0442\u043e\u0433\u043e \u0431\u0435\u0437\u043e\u0431\u0440\u0430\u0437\u0438\u044f.<br \/>  \u0427\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/4b6\/e0c\/662\/4b6e0c6621fa86159f313f08791056c5.png\"\/><br \/>  <a href=\"https:\/\/projects.kde.org\/projects\/kde\/kdeplasma-addons\/repository\/revisions\/master\/show\/applets\">\u041f\u043e \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430\u043c<\/a><\/p>\n<p>  \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435!    \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/192698\/\"> http:\/\/habrahabr.ru\/post\/192698\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/76f\/e1d\/79d\/76fe1d79dbbba49fcf34ceca69d6fcc3.png\"\/><br \/>  <sub>Dr.Konqi, \u043c\u044b \u0441 \u043d\u0438\u043c \u0434\u0440\u0443\u0436\u0438\u043c, \u044f \u0435\u0433\u043e \u0447\u0430\u0441\u0442\u043e \u0432\u0438\u0436\u0443 %)<\/sub>  <\/p>\n<h4>\u0412\u043c\u0435\u0441\u0442\u043e \u043f\u0440\u0435\u0434\u0438\u0441\u043b\u043e\u0432\u0438\u044f<\/h4>\n<p>  \u041f\u0440\u0438\u0432\u0435\u0442!<br \/>  \u041d\u0430 \u0445\u0430\u0431\u0440\u0435 \u0443\u0436\u0435 <a href=\"http:\/\/habrahabr.ru\/post\/185266\/\">\u043f\u0438\u0441\u0430\u043b\u0438<\/a> \u043f\u0440\u043e \u0442\u043e, \u0447\u0442\u043e \u0432\u0441\u0435 \u043f\u043b\u0430\u0437\u043c\u043e\u0438\u0434\u044b \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 QML\/JS, \u043d\u043e \u044f \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u044e \u0438\u0437\u043c\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430\u0434 <i>\u0442\u0440\u0443\u043f\u043e\u043c CPP<\/i> \u0438 \u043f\u0438\u0448\u0443 \u0432\u0438\u0434\u0436\u0435\u0442\u044b \u0434\u043b\u044f \u043f\u043b\u0430\u0437\u043c\u044b \u043d\u0430 \u043f\u043b\u044e\u0441\u0430\u0445. \u041d\u043e, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043d\u0435 \u0432\u0441\u0435 \u0442\u0430\u043a \u043f\u043b\u043e\u0445\u043e, %username%?<\/p>\n<p>  \u0414\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043f\u043b\u0430\u0437\u043c\u043e\u0438\u0434\u0430 \u043d\u0430 C++ \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c\u0441\u044f \u043a <a href=\"http:\/\/habrahabr.ru\/post\/76371\/\">\u044d\u0442\u043e\u0439<\/a> \u0441\u0442\u0430\u0442\u044c\u0435. \u0412 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0439 \u0436\u0435 \u0441\u0442\u0430\u0442\u044c\u0435 \u043d\u0430 \u0433\u043e\u043b\u044b\u0439 \u0432\u0438\u0434\u0436\u0435\u0442 \u043c\u044b \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0444\u0438\u0447 (\u0432 \u043f\u043e\u0440\u044f\u0434\u043a\u0435 \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u043d\u0438\u044f) \u2014 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441, \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0438 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f.<br \/>  \u0415\u0441\u043b\u0438 \u043a\u043e\u0433\u043e \u0437\u0430\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043b\u043e \u2014 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u043d\u0438\u0436\u0435.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-192698","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/192698","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=192698"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/192698\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=192698"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=192698"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=192698"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}