ColDate: Removed Col* virtual overrides that delegate back to the base
This commit is contained in:
@@ -51,12 +51,6 @@ ColumnDue::~ColumnDue ()
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
bool ColumnDue::validate (std::string& value)
|
|
||||||
{
|
|
||||||
return ColumnDate::validate (value);
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Overriden so that style <----> label are linked.
|
// Overriden so that style <----> label are linked.
|
||||||
// Note that you can not determine which gets called first.
|
// Note that you can not determine which gets called first.
|
||||||
|
|||||||
@@ -35,7 +35,6 @@ public:
|
|||||||
ColumnDue ();
|
ColumnDue ();
|
||||||
~ColumnDue ();
|
~ColumnDue ();
|
||||||
|
|
||||||
bool validate (std::string&);
|
|
||||||
void setStyle (const std::string&);
|
void setStyle (const std::string&);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -41,9 +41,3 @@ ColumnEnd::~ColumnEnd ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
bool ColumnEnd::validate (std::string& value)
|
|
||||||
{
|
|
||||||
return ColumnDate::validate (value);
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|||||||
@@ -34,8 +34,6 @@ class ColumnEnd : public ColumnDate
|
|||||||
public:
|
public:
|
||||||
ColumnEnd ();
|
ColumnEnd ();
|
||||||
~ColumnEnd ();
|
~ColumnEnd ();
|
||||||
|
|
||||||
bool validate (std::string&);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -40,12 +40,6 @@ ColumnEntry::~ColumnEntry ()
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
bool ColumnEntry::validate (std::string& value)
|
|
||||||
{
|
|
||||||
return ColumnDate::validate (value);
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Overriden so that style <----> label are linked.
|
// Overriden so that style <----> label are linked.
|
||||||
// Note that you can not determine which gets called first.
|
// Note that you can not determine which gets called first.
|
||||||
|
|||||||
@@ -35,7 +35,6 @@ public:
|
|||||||
ColumnEntry ();
|
ColumnEntry ();
|
||||||
~ColumnEntry ();
|
~ColumnEntry ();
|
||||||
|
|
||||||
bool validate (std::string&);
|
|
||||||
void setStyle (const std::string&);
|
void setStyle (const std::string&);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -41,9 +41,3 @@ ColumnModified::~ColumnModified ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
bool ColumnModified::validate (std::string& value)
|
|
||||||
{
|
|
||||||
return ColumnDate::validate (value);
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|||||||
@@ -34,8 +34,6 @@ class ColumnModified : public ColumnDate
|
|||||||
public:
|
public:
|
||||||
ColumnModified ();
|
ColumnModified ();
|
||||||
~ColumnModified ();
|
~ColumnModified ();
|
||||||
|
|
||||||
bool validate (std::string&);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -52,12 +52,6 @@ ColumnScheduled::~ColumnScheduled ()
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
bool ColumnScheduled::validate (std::string& value)
|
|
||||||
{
|
|
||||||
return ColumnDate::validate (value);
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Overriden so that style <----> label are linked.
|
// Overriden so that style <----> label are linked.
|
||||||
// Note that you can not determine which gets called first.
|
// Note that you can not determine which gets called first.
|
||||||
|
|||||||
@@ -35,7 +35,6 @@ public:
|
|||||||
ColumnScheduled ();
|
ColumnScheduled ();
|
||||||
~ColumnScheduled ();
|
~ColumnScheduled ();
|
||||||
|
|
||||||
bool validate (std::string&);
|
|
||||||
void setStyle (const std::string&);
|
void setStyle (const std::string&);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -47,12 +47,6 @@ ColumnStart::~ColumnStart ()
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
bool ColumnStart::validate (std::string& value)
|
|
||||||
{
|
|
||||||
return ColumnDate::validate (value);
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// Overriden so that style <----> label are linked.
|
// Overriden so that style <----> label are linked.
|
||||||
// Note that you can not determine which gets called first.
|
// Note that you can not determine which gets called first.
|
||||||
|
|||||||
@@ -35,7 +35,6 @@ public:
|
|||||||
ColumnStart ();
|
ColumnStart ();
|
||||||
~ColumnStart ();
|
~ColumnStart ();
|
||||||
|
|
||||||
bool validate (std::string&);
|
|
||||||
void setStyle (const std::string&);
|
void setStyle (const std::string&);
|
||||||
void measure (Task&, unsigned int&, unsigned int&);
|
void measure (Task&, unsigned int&, unsigned int&);
|
||||||
void render (std::vector <std::string>&, Task&, int, Color&);
|
void render (std::vector <std::string>&, Task&, int, Color&);
|
||||||
|
|||||||
@@ -41,9 +41,3 @@ ColumnUntil::~ColumnUntil ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
bool ColumnUntil::validate (std::string& value)
|
|
||||||
{
|
|
||||||
return ColumnDate::validate (value);
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|||||||
@@ -34,8 +34,6 @@ class ColumnUntil : public ColumnDate
|
|||||||
public:
|
public:
|
||||||
ColumnUntil ();
|
ColumnUntil ();
|
||||||
~ColumnUntil ();
|
~ColumnUntil ();
|
||||||
|
|
||||||
bool validate (std::string&);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -41,9 +41,3 @@ ColumnWait::~ColumnWait ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
bool ColumnWait::validate (std::string& value)
|
|
||||||
{
|
|
||||||
return ColumnDate::validate (value);
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|||||||
@@ -34,8 +34,6 @@ class ColumnWait : public ColumnDate
|
|||||||
public:
|
public:
|
||||||
ColumnWait ();
|
ColumnWait ();
|
||||||
~ColumnWait ();
|
~ColumnWait ();
|
||||||
|
|
||||||
bool validate (std::string&);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user