Removed tab characters from sources.

This commit is contained in:
Matthias Koefferlein 2020-04-25 23:27:29 +02:00
parent 1a30fdf4b7
commit 5bedd3cd04
6 changed files with 24 additions and 24 deletions

View File

@ -46,7 +46,7 @@ public:
MacroTreeModel (QObject *parent, lay::MacroEditorDialog *dialog, lym::MacroCollection *root, const std::string &cat); MacroTreeModel (QObject *parent, lay::MacroEditorDialog *dialog, lym::MacroCollection *root, const std::string &cat);
MacroTreeModel (QWidget *parent, lym::MacroCollection *root, const std::string &cat); MacroTreeModel (QWidget *parent, lym::MacroCollection *root, const std::string &cat);
int columnCount (const QModelIndex &parent) const; int columnCount (const QModelIndex &parent) const;
QVariant data (const QModelIndex &index, int role) const; QVariant data (const QModelIndex &index, int role) const;
Qt::ItemFlags flags (const QModelIndex &index) const; Qt::ItemFlags flags (const QModelIndex &index) const;
bool hasChildren (const QModelIndex &parent) const; bool hasChildren (const QModelIndex &parent) const;

View File

@ -120,15 +120,15 @@ public:
return m_cell_result; return m_cell_result;
} }
int columnCount (const QModelIndex &parent) const; int columnCount (const QModelIndex &parent) const;
QVariant data (const QModelIndex &index, int role) const; QVariant data (const QModelIndex &index, int role) const;
Qt::ItemFlags flags (const QModelIndex &index) const; Qt::ItemFlags flags (const QModelIndex &index) const;
bool hasChildren (const QModelIndex &parent) const; bool hasChildren (const QModelIndex &parent) const;
bool hasIndex (int row, int column, const QModelIndex &parent) const; bool hasIndex (int row, int column, const QModelIndex &parent) const;
QVariant headerData (int section, Qt::Orientation orientation, int role) const; QVariant headerData (int section, Qt::Orientation orientation, int role) const;
QModelIndex index (int row, int column, const QModelIndex &parent) const; QModelIndex index (int row, int column, const QModelIndex &parent) const;
QModelIndex parent (const QModelIndex &index) const; QModelIndex parent (const QModelIndex &index) const;
int rowCount (const QModelIndex &parent) const; int rowCount (const QModelIndex &parent) const;
void has_more (bool hm); void has_more (bool hm);
void export_csv (const std::string &file); void export_csv (const std::string &file);

View File

@ -114,7 +114,7 @@ PYAChannelObject::make_class (PyObject *module)
{"write", (PyCFunction) &pya_channel_write, METH_VARARGS, "internal stdout/stderr redirection object: write method" }, {"write", (PyCFunction) &pya_channel_write, METH_VARARGS, "internal stdout/stderr redirection object: write method" },
{"flush", (PyCFunction) &pya_channel_flush, METH_VARARGS, "internal stdout/stderr redirection object: flush method" }, {"flush", (PyCFunction) &pya_channel_flush, METH_VARARGS, "internal stdout/stderr redirection object: flush method" },
{"isatty", (PyCFunction) &pya_channel_isatty, METH_VARARGS, "internal stdout/stderr redirection object: isatty method" }, {"isatty", (PyCFunction) &pya_channel_isatty, METH_VARARGS, "internal stdout/stderr redirection object: isatty method" },
{NULL, NULL}, {NULL, NULL},
}; };
channel_type.tp_flags = Py_TPFLAGS_DEFAULT; channel_type.tp_flags = Py_TPFLAGS_DEFAULT;
@ -630,7 +630,7 @@ PYASignal::make_class (PyObject *module)
{"remove", (PyCFunction) &pya_signal_remove, METH_VARARGS, "internal signal proxy object: -= operator" }, {"remove", (PyCFunction) &pya_signal_remove, METH_VARARGS, "internal signal proxy object: -= operator" },
{"set", (PyCFunction) &pya_signal_set, METH_VARARGS, "internal signal proxy object: assignment" }, {"set", (PyCFunction) &pya_signal_set, METH_VARARGS, "internal signal proxy object: assignment" },
{"clear", (PyCFunction) &pya_signal_clear, METH_NOARGS, "internal signal proxy object: clears all receivers" }, {"clear", (PyCFunction) &pya_signal_clear, METH_NOARGS, "internal signal proxy object: clears all receivers" },
{NULL, NULL}, {NULL, NULL},
}; };
static PyNumberMethods nm = { }; static PyNumberMethods nm = { };

View File

@ -245,7 +245,7 @@ namespace tl
} }
template<typename _RandomAccessIterator, typename _Distance, typename _Tp, template<typename _RandomAccessIterator, typename _Distance, typename _Tp,
typename _Compare> typename _Compare>
void void
__push_heap(_RandomAccessIterator __first, _Distance __holeIndex, __push_heap(_RandomAccessIterator __first, _Distance __holeIndex,
_Distance __topIndex, const _Tp &__v, _Compare __comp) _Distance __topIndex, const _Tp &__v, _Compare __comp)
@ -311,7 +311,7 @@ namespace tl
} }
template<typename _RandomAccessIterator, typename _Distance, template<typename _RandomAccessIterator, typename _Distance,
typename _Tp, typename _Compare> typename _Tp, typename _Compare>
void void
__adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex,
_Distance __len, const _Tp &__v, _Compare __comp) _Distance __len, const _Tp &__v, _Compare __comp)
@ -476,7 +476,7 @@ namespace tl
} }
--__depth_limit; --__depth_limit;
_RandomAccessIter __cut = _RandomAccessIter __cut =
tl::__unguarded_partition(__first, __last, tl::__unguarded_partition(__first, __last,
_ValueType(tl::__median(*__first, _ValueType(tl::__median(*__first,
*(__first + (__last - __first)/2), *(__first + (__last - __first)/2),
*(__last - 1), __comp)), *(__last - 1), __comp)),

View File

@ -1731,10 +1731,10 @@ std::string format_sci_stlport_fix (double f, int prec, unsigned int flags)
std::string res; std::string res;
res.reserve (os.str ().size ()); res.reserve (os.str ().size ());
for (const char *cp = os.str ().c_str (); *cp; ++cp) { for (const char *cp = os.str ().c_str (); *cp; ++cp) {
if (*cp == '0' && (cp[1] == 'e' || cp[1] == 'E')) { if (*cp == '0' && (cp[1] == 'e' || cp[1] == 'E')) {
++cp; ++cp;
} }
res += *cp; res += *cp;
} }
return res; return res;
}; };
@ -1841,7 +1841,7 @@ sprintf (const char *f, const std::vector <tl::Variant> &vv, unsigned int a0)
} }
if (a < vv.size ()) { if (a < vv.size ()) {
#if defined(_STLPORT_VERSION) && _STLPORT_VERSION == 0x521 && defined(_MSC_VER) #if defined(_STLPORT_VERSION) && _STLPORT_VERSION == 0x521 && defined(_MSC_VER)
os << format_sci_stlport_fix (vv [a].to_double (), os.precision (), os.flags ()).c_str (); os << format_sci_stlport_fix (vv [a].to_double (), os.precision (), os.flags ()).c_str ();
#else #else
os << vv [a].to_double (); os << vv [a].to_double ();
#endif #endif