GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
community_news Class Reference

#include "community-news.h"

Inheritance diagram for community_news:
Collaboration diagram for community_news:

Public Slots

void display (void)
 
void set_news (const QString &news)
 

Public Member Functions

 community_news (base_qobject &oct_qobj, int serial)
 
 community_news (base_qobject &oct_qobj, QWidget *parent=nullptr, const QString &base_url="https://octave.org", const QString &page="community-news.html", int serial=-1)
 
 ~community_news (void)=default
 

Private Member Functions

void construct (base_qobject &oct_qobj, const QString &base_url, const QString &page, int serial)
 

Private Attributes

QTextBrowserm_browser
 

Detailed Description

Definition at line 38 of file community-news.h.

Constructor & Destructor Documentation

◆ community_news() [1/2]

community_news::community_news ( base_qobject oct_qobj,
int  serial 
)

Definition at line 43 of file community-news.cc.

◆ community_news() [2/2]

community_news::community_news ( base_qobject oct_qobj,
QWidget parent = nullptr,
const QString &  base_url = "https://octave.org",
const QString &  page = "community-news.html",
int  serial = -1 
)

Definition at line 49 of file community-news.cc.

References construct().

◆ ~community_news()

community_news::~community_news ( void  )
default

Member Function Documentation

◆ construct()

void community_news::construct ( base_qobject oct_qobj,
const QString &  base_url,
const QString &  page,
int  serial 
)
private

◆ display

void community_news::display ( void  )
slot

Definition at line 128 of file community-news.cc.

◆ set_news

void community_news::set_news ( const QString &  news)
slot

Definition at line 123 of file community-news.cc.

References m_browser.

Referenced by construct().

Member Data Documentation

◆ m_browser

QTextBrowser* community_news::m_browser
private

Definition at line 64 of file community-news.h.

Referenced by construct(), and set_news().


The documentation for this class was generated from the following files: