projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modernize: Pass arguments by value and move in constructors
[quassel.git]
/
src
/
uisupport
/
multilineedit.h
diff --git
a/src/uisupport/multilineedit.h
b/src/uisupport/multilineedit.h
index
63b67eb
..
61fafa6
100644
(file)
--- a/
src/uisupport/multilineedit.h
+++ b/
src/uisupport/multilineedit.h
@@
-49,8
+49,8
@@
public:
MultiLine
};
MultiLine
};
- MultiLineEdit(QWidget *parent =
0
);
- ~MultiLineEdit();
+ MultiLineEdit(QWidget *parent =
nullptr
);
+ ~MultiLineEdit()
override
;
void setCustomFont(const QFont &); // should be used instead setFont(), so we can set our size correctly
void setCustomFont(const QFont &); // should be used instead setFont(), so we can set our size correctly
@@
-85,7
+85,7
@@
public slots:
void setMaxHeight(int numLines);
void setEmacsMode(bool enable = true);
void setScrollBarsEnabled(bool enable = true);
void setMaxHeight(int numLines);
void setEmacsMode(bool enable = true);
void setScrollBarsEnabled(bool enable = true);
- void setPasteProtectionEnabled(bool enable = true, QWidget *msgBoxParent =
0
);
+ void setPasteProtectionEnabled(bool enable = true, QWidget *msgBoxParent =
nullptr
);
void setLineWrapEnabled(bool enable = false);
inline void setHistory(QStringList history) { _history = history; }
void setLineWrapEnabled(bool enable = false);
inline void setHistory(QStringList history) { _history = history; }