summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/ui
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-22 15:19:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-22 15:22:11 +0900
commitbfb6a86ee22664339e8922e55216d12e1a5b2008 (patch)
tree581faaa72b0d515a3e87c6d315c21efec779b9f4 /kopete/libkopete/ui
parent1329ec6abbcb7b79cd960e0ca138f16598d5f11f (diff)
downloadtdenetwork-bfb6a86ee22664339e8922e55216d12e1a5b2008.tar.gz
tdenetwork-bfb6a86ee22664339e8922e55216d12e1a5b2008.zip
Replace auto_ptr
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kopete/libkopete/ui')
-rw-r--r--kopete/libkopete/ui/kopetelistview.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/kopete/libkopete/ui/kopetelistview.cpp b/kopete/libkopete/ui/kopetelistview.cpp
index 6d9952ad..8ae78229 100644
--- a/kopete/libkopete/ui/kopetelistview.cpp
+++ b/kopete/libkopete/ui/kopetelistview.cpp
@@ -97,9 +97,11 @@ void ToolTip::maybeTip( const TQPoint &pos )
struct ListView::Private
{
TQTimer sortTimer;
- std::auto_ptr<ToolTip> toolTip;
+ std::unique_ptr<ToolTip> toolTip;
//! C-tor
Private() {}
+ Private(Private const &) = delete;
+ Private& operator=(Private const &) = delete;
};
ListView::ListView( TQWidget *parent, const char *name )