## CamelNNTPSettings CamelNNTPSettings |

## Synopsis

    struct              CamelNNTPSettings;
    gboolean            camel_nntp_settings_get_filter_all  (CamelNNTPSettings *settings);
    void                camel_nntp_settings_set_filter_all  (CamelNNTPSettings *settings,
                                                             gboolean filter_all);
    gboolean            camel_nntp_settings_get_folder_hierarchy_relative
                                                            (CamelNNTPSettings *settings);
    void                camel_nntp_settings_set_folder_hierarchy_relative
                                                            (CamelNNTPSettings *settings,
                                                             gboolean folder_hierarchy_relative);
    gboolean            camel_nntp_settings_get_short_folder_names
                                                            (CamelNNTPSettings *settings);
    void                camel_nntp_settings_set_short_folder_names
                                                            (CamelNNTPSettings *settings,
                                                             gboolean short_folder_names);

## Object Hierarchy

      GObject
       +----CamelSettings
             +----CamelStoreSettings
                   +----CamelOfflineSettings
                         +----CamelNNTPSettings

## Implemented Interfaces

CamelNNTPSettings implements CamelNetworkSettings.

## Properties

      "filter-all"               gboolean              : Read / Write / Construct
      "folder-hierarchy-relative" gboolean              : Read / Write / Construct
      "short-folder-names"       gboolean              : Read / Write / Construct

## Description

## Details

### struct CamelNNTPSettings

    struct CamelNNTPSettings;

### camel_nntp_settings_get_filter_all ()

    gboolean            camel_nntp_settings_get_filter_all  (CamelNNTPSettings *settings);

Returns whether apply filters in all folders.

`settings` : | a CamelNNTPSettings
Returns : | whether to apply filters in all folders

Since 3.4

### camel_nntp_settings_set_filter_all ()

    void                camel_nntp_settings_set_filter_all  (CamelNNTPSettings *settings,
                                                             gboolean filter_all);

Sets whether to apply filters in all folders.

`settings` : | a CamelNNTPSettings
`filter_all` : | whether to apply filters in all folders

Since 3.4

### camel_nntp_settings_get_folder_hierarchy_relative ()

    gboolean            camel_nntp_settings_get_folder_hierarchy_relative
                                                            (CamelNNTPSettings *settings);

Returns whether to show relative folder names when allowing users to subscribe to folders. Since newsgroup folder names reveal the absolute path to the folder (e.g. comp.os.linux), displaying the full folder name in a complete hierarchical listing of the news server is redundant, but possibly harder to read.

`settings` : | a CamelNNTPSettings
Returns : | whether to show relative folder names

Since 3.2

### camel_nntp_settings_set_folder_hierarchy_relative ()

    void                camel_nntp_settings_set_folder_hierarchy_relative
                                                            (CamelNNTPSettings *settings,
                                                             gboolean folder_hierarchy_relative);

Sets whether to show relative folder names when allowing users to subscribe to folders. Since newsgroup folder names reveal the absolute path to the folder (e.g. comp.os.linux), displaying the full folder name in a complete hierarchical listing of the news server is redundant, but possibly harder to read.

`settings` : | a CamelNNTPSettings
`folder_hierarchy_relative` : | whether to show relative folder names

Since 3.2

### camel_nntp_settings_get_short_folder_names ()

    gboolean            camel_nntp_settings_get_short_folder_names
                                                            (CamelNNTPSettings *settings);

Returns whether to use shortened folder names (e.g. c.o.linux rather than comp.os.linux).

`settings` : | a CamelNNTPSettings
Returns : | whether to show shortened folder names

Since 3.2

### camel_nntp_settings_set_short_folder_names ()

    void                camel_nntp_settings_set_short_folder_names
                                                            (CamelNNTPSettings *settings,
                                                             gboolean short_folder_names);

Sets whether to show shortened folder names (e.g. c.o.linux rather than comp.os.linux).

`settings` : | a CamelNNTPSettings
`short_folder_names` : | whether to show shortened folder names

Since 3.2

## Property Details

### The `"filter-all"` property

      "filter-all"               gboolean              : Read / Write / Construct

Whether to apply filters in all folders.

Default value: FALSE

### The `"folder-hierarchy-relative"` property

      "folder-hierarchy-relative" gboolean              : Read / Write / Construct

Show relative folder names when subscribing.

Default value: FALSE

### The `"short-folder-names"` property

      "short-folder-names"       gboolean              : Read / Write / Construct

Use shortened folder names.

Default value: FALSE