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 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`).
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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};
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
use orbtk::prelude::*;
|
||||
|
||||
use crate::{
|
||||
constants::*,
|
||||
data::{PolicyList, Status},
|
||||
keys::*,
|
||||
policydata_state::{Action, PolicyDataState},
|
||||
};
|
||||
use chrono::NaiveDateTime;
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
use orbtk::prelude::*;
|
||||
|
||||
use crate::{
|
||||
constants::*,
|
||||
data::PolicyList,
|
||||
keys::*,
|
||||
//policylist_state::{Action, PolicyListState},
|
||||
policylist_state::*,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user