Patch level : 12.0 nopatch

Files correlati     :
Commento:
sistemazione progetti e programmi che non si compilavano
This commit is contained in:
Alessandro Bonazzi 2023-03-05 16:13:15 +01:00
parent 89eec902ae
commit 86ad4e22fe
7 changed files with 7 additions and 16 deletions

View File

@ -77,7 +77,7 @@ bool TTeamSystem_multirel_app::user_create()
{ {
TConfig config(CONFIG_DITTA); TConfig config(CONFIG_DITTA);
_use_tab = config.get_bool("TSUSECMTAB"); _use_tab = config.get_bool("TSUSECMTAB");
TMask & m = *get_mask(); TMask & m = *get_mask(MODE_QUERY);
m.show(-10, _use_tab); m.show(-10, _use_tab);
m.show(-20, !_use_tab); m.show(-20, !_use_tab);

View File

@ -43,7 +43,7 @@ class TTSRiclass_application : public TRelation_application
// @access Protected Member // @access Protected Member
protected: protected:
virtual TMask* get_mask(int mode = MODE_QUERY) { CHECK(_msk, "Null mask"); return _msk; } virtual TMask* _get_mask(int mode) { CHECK(_msk, "Null mask"); return _msk; }
// @cmember Indica se la futura <mf Tab_application::get_mask> ritornera' una maschera diversa // @cmember Indica se la futura <mf Tab_application::get_mask> ritornera' una maschera diversa
// dalla corrente. // dalla corrente.
virtual bool changing_mask(int mode) { return false; } virtual bool changing_mask(int mode) { return false; }

View File

@ -45,7 +45,7 @@ class TZCRiclass_application : public TRelation_application
// @access Protected Member // @access Protected Member
protected: protected:
virtual TMask* get_mask(int mode = MODE_QUERY) { CHECK(_msk, "Null mask"); return _msk; } virtual TMask* _get_mask(int mode) { CHECK(_msk, "Null mask"); return _msk; }
// @cmember Indica se la futura <mf Tab_application::get_mask> ritornera' una maschera diversa // @cmember Indica se la futura <mf Tab_application::get_mask> ritornera' una maschera diversa
// dalla corrente. // dalla corrente.
virtual bool changing_mask(int mode) { return false; } virtual bool changing_mask(int mode) { return false; }

View File

@ -75,7 +75,7 @@ bool TTeamSystem_multirel_app::user_create()
if (ok) if (ok)
{ {
TConfig config(CONFIG_DITTA); TConfig config(CONFIG_DITTA);
TMask & m = *get_mask(); TMask & m = *get_mask(MODE_QUERY);
set_search_field(F_CODTAB); set_search_field(F_CODTAB);
} }

View File

@ -189,15 +189,6 @@ TIP_sender& app() { return (TIP_sender&)main_app(); }
// TIP_textset // TIP_textset
/////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////
class TInt : public TObject
{
public:
int _int;
TInt(int i) : _int(i) {}
};
bool TIP_textset::destroy(TRecnotype r) bool TIP_textset::destroy(TRecnotype r)
{ {
bool ok; bool ok;
@ -211,7 +202,7 @@ int TIP_textset::find_column(const char * name)
TInt * i = (TInt *) _colnames.objptr(fname); TInt * i = (TInt *) _colnames.objptr(fname);
if (i != NULL) if (i != NULL)
return i->_int; return (int)*i;
return -1; return -1;
} }

View File

@ -43,7 +43,7 @@ class TIPRiclass_application : public TRelation_application
// @access Protected Member // @access Protected Member
protected: protected:
virtual TMask* get_mask(int mode = MODE_QUERY) { CHECK(_msk, "Null mask"); return _msk; } virtual TMask* _get_mask(int mode) { CHECK(_msk, "Null mask"); return _msk; }
// @cmember Indica se la futura <mf Tab_application::get_mask> ritornera' una maschera diversa // @cmember Indica se la futura <mf Tab_application::get_mask> ritornera' una maschera diversa
// dalla corrente. // dalla corrente.
virtual bool changing_mask(int mode) { return false; } virtual bool changing_mask(int mode) { return false; }

View File

@ -74,7 +74,7 @@ bool TSispac_multirel_app::user_create()
if (ok) if (ok)
{ {
TMask& m = *get_mask(); TMask& m = *get_mask(MODE_QUERY);
set_search_field(F_CODTAB); set_search_field(F_CODTAB);
} }
return ok; return ok;