mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Revert last commits
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5624 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -128,11 +128,6 @@ void NumerotationContextCommands::setNumStrategy(const QString &str) {
|
||||
strategy_ = new MachineNum (diagram_);
|
||||
return;
|
||||
}
|
||||
|
||||
else if (str=="funcgroup"){
|
||||
strategy_ = new FuncgroupNum (diagram_);
|
||||
return;
|
||||
}
|
||||
else if (str=="locmach"){
|
||||
strategy_ = new LocmachNum (diagram_);
|
||||
return;
|
||||
@@ -534,39 +529,6 @@ NumerotationContext MachineNum::previous(const NumerotationContext &nc, const in
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
FuncgroupNum::FuncgroupNum (Diagram *d):
|
||||
NumStrategy (d)
|
||||
{}
|
||||
|
||||
/**
|
||||
* @brief FuncgroupNum::toRepresentedString
|
||||
* @return the represented string of folio
|
||||
*/
|
||||
QString FuncgroupNum::toRepresentedString(const QString str) const {
|
||||
Q_UNUSED(str);
|
||||
return "%FG";
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief FuncgroupNum::next
|
||||
* @return the next NumerotationContext nc at position i
|
||||
*/
|
||||
NumerotationContext FuncgroupNum::next (const NumerotationContext &nc, const int i) const {
|
||||
return (nextString(nc, i));
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief FuncgroupNum::previous
|
||||
* @return the previous NumerotationContext nc at posiiton i
|
||||
*/
|
||||
NumerotationContext FuncgroupNum::previous(const NumerotationContext &nc, const int i) const {
|
||||
return (nextString(nc, i));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user