advotracker: rename 'keys' to 'constants'

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
2020-07-14 11:43:41 +02:00
parent 6907c0c393
commit 8ca257bf5c
9 changed files with 12 additions and 12 deletions

View File

@@ -7,10 +7,9 @@
use orbtk::prelude::*;
//use crate::data::keys;
use crate::{
data::structures::PolicyList,
data::keys::*
data::constants::*,
data::structures::PolicyList
};
/// Provides generic methods to handle states of datatypes (e.g. used in `PolicyList`).

View File

@@ -15,7 +15,7 @@ use crate::services::imports::allianzdirectcall::import;
use crate::{
callbacks::global_state::GlobalState,
data::structures::{PolicyCode, PolicyDataList, PolicyList},
data::keys::*,
data::constants::*,
};
/// Actions that can execute on the task view.

View File

@@ -9,8 +9,8 @@ use orbtk::prelude::*;
use crate::{
callbacks::global_state::GlobalState,
data::constants::*,
data::{PolicyCode, PolicyData, PolicyList, Status},
data::keys::*,
};
use chrono::{Utc, NaiveDateTime};

View File

@@ -5,8 +5,9 @@
* SPDX-License-Identifier: (0BSD or MIT)
*/
/// structures with implementations
pub mod structures;
/// provides orbtk widgets constants
pub mod keys;
pub mod constants;
/// structures with implementations
pub mod structures;

View File

@@ -8,7 +8,7 @@
use orbtk::prelude::*;
//use orbtk::theme::vector_graphics::material_icons_font;
use crate::data::keys::*;
use crate::data::constants::*;
//pub struct PolicyMenu {
// pub isvalid: bool

View File

@@ -8,8 +8,8 @@
use orbtk::prelude::*;
use crate::{
constants::*,
data::{PolicyList, Status},
keys::*,
policydata_state::{Action, PolicyDataState},
};
use chrono::NaiveDateTime;

View File

@@ -9,8 +9,8 @@ use orbtk::prelude::*;
use crate::{
base_state::BaseState,
constants::*,
data::{PolicyDataList, PolicyList},
keys::*,
};
/// Actions that can execute on the task view.

View File

@@ -8,8 +8,8 @@
use orbtk::prelude::*;
use crate::{
constants::*,
data::PolicyList,
keys::*,
//policylist_state::{Action, PolicyListState},
policylist_state::*,
};