advotracker: rename 'keys' to 'constants'
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
@@ -7,10 +7,9 @@
|
|||||||
|
|
||||||
use orbtk::prelude::*;
|
use orbtk::prelude::*;
|
||||||
|
|
||||||
//use crate::data::keys;
|
|
||||||
use crate::{
|
use crate::{
|
||||||
data::structures::PolicyList,
|
data::constants::*,
|
||||||
data::keys::*
|
data::structures::PolicyList
|
||||||
};
|
};
|
||||||
|
|
||||||
/// Provides generic methods to handle states of datatypes (e.g. used in `PolicyList`).
|
/// Provides generic methods to handle states of datatypes (e.g. used in `PolicyList`).
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ use crate::services::imports::allianzdirectcall::import;
|
|||||||
use crate::{
|
use crate::{
|
||||||
callbacks::global_state::GlobalState,
|
callbacks::global_state::GlobalState,
|
||||||
data::structures::{PolicyCode, PolicyDataList, PolicyList},
|
data::structures::{PolicyCode, PolicyDataList, PolicyList},
|
||||||
data::keys::*,
|
data::constants::*,
|
||||||
};
|
};
|
||||||
|
|
||||||
/// Actions that can execute on the task view.
|
/// Actions that can execute on the task view.
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ use orbtk::prelude::*;
|
|||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
callbacks::global_state::GlobalState,
|
callbacks::global_state::GlobalState,
|
||||||
|
data::constants::*,
|
||||||
data::{PolicyCode, PolicyData, PolicyList, Status},
|
data::{PolicyCode, PolicyData, PolicyList, Status},
|
||||||
data::keys::*,
|
|
||||||
};
|
};
|
||||||
use chrono::{Utc, NaiveDateTime};
|
use chrono::{Utc, NaiveDateTime};
|
||||||
|
|
||||||
|
|||||||
@@ -5,8 +5,9 @@
|
|||||||
* SPDX-License-Identifier: (0BSD or MIT)
|
* SPDX-License-Identifier: (0BSD or MIT)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/// structures with implementations
|
|
||||||
pub mod structures;
|
|
||||||
|
|
||||||
/// provides orbtk widgets constants
|
/// provides orbtk widgets constants
|
||||||
pub mod keys;
|
pub mod constants;
|
||||||
|
|
||||||
|
/// structures with implementations
|
||||||
|
pub mod structures;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
use orbtk::prelude::*;
|
use orbtk::prelude::*;
|
||||||
//use orbtk::theme::vector_graphics::material_icons_font;
|
//use orbtk::theme::vector_graphics::material_icons_font;
|
||||||
|
|
||||||
use crate::data::keys::*;
|
use crate::data::constants::*;
|
||||||
|
|
||||||
//pub struct PolicyMenu {
|
//pub struct PolicyMenu {
|
||||||
// pub isvalid: bool
|
// pub isvalid: bool
|
||||||
|
|||||||
@@ -8,8 +8,8 @@
|
|||||||
use orbtk::prelude::*;
|
use orbtk::prelude::*;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
|
constants::*,
|
||||||
data::{PolicyList, Status},
|
data::{PolicyList, Status},
|
||||||
keys::*,
|
|
||||||
policydata_state::{Action, PolicyDataState},
|
policydata_state::{Action, PolicyDataState},
|
||||||
};
|
};
|
||||||
use chrono::NaiveDateTime;
|
use chrono::NaiveDateTime;
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ use orbtk::prelude::*;
|
|||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
base_state::BaseState,
|
base_state::BaseState,
|
||||||
|
constants::*,
|
||||||
data::{PolicyDataList, PolicyList},
|
data::{PolicyDataList, PolicyList},
|
||||||
keys::*,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/// Actions that can execute on the task view.
|
/// Actions that can execute on the task view.
|
||||||
|
|||||||
@@ -8,8 +8,8 @@
|
|||||||
use orbtk::prelude::*;
|
use orbtk::prelude::*;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
|
constants::*,
|
||||||
data::PolicyList,
|
data::PolicyList,
|
||||||
keys::*,
|
|
||||||
//policylist_state::{Action, PolicyListState},
|
//policylist_state::{Action, PolicyListState},
|
||||||
policylist_state::*,
|
policylist_state::*,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user