| 786 | |
| 787 | STD_SETTER_CMD_IMPL_M_F_S(Worksheet, SetLayoutColumnCount, int, layoutColumnCount, updateLayout) |
| 788 | void Worksheet::setLayoutColumnCount(int count) { |
| 789 | Q_D(Worksheet); |
| 790 | if (count != d->layoutColumnCount) { |
| 791 | beginMacro(i18n("%1: set layout column count", name())); |
| 792 | exec(new WorksheetSetLayoutColumnCountCmd(d, count, ki18n("%1: set layout column count"))); |
| 793 | endMacro(); |
| 794 | } |
| 795 | } |
| 796 | |
| 797 | class WorksheetSetPageRectCmd : public StandardMacroSetterCmd<Worksheet::Private, QRectF> { |
| 798 | public: |
no outgoing calls
no test coverage detected