summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-09-15 08:58:52 +0200
committerMontel Laurent <[email protected]>2017-09-15 08:58:52 +0200
commit0c73a996b2d1eda755d0b1409ec0fc6d50887194 (patch)
tree374be455dfbd66b363f2302d16106aca64f21521
parentf97e67c5e9d615e44cedb28eef61d4f4b2b56eea (diff)
Use "using namespace KPIM"
-rw-r--r--src/libkdepim/progresswidget/progressdialog.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/libkdepim/progresswidget/progressdialog.cpp b/src/libkdepim/progresswidget/progressdialog.cpp
index bc20fcc..c228816 100644
--- a/src/libkdepim/progresswidget/progressdialog.cpp
+++ b/src/libkdepim/progresswidget/progressdialog.cpp
@@ -46,11 +46,9 @@
#include <QLayout>
#include <QVBoxLayout>
-namespace KPIM {
+using namespace KPIM;
static const int MAX_LABEL_WIDTH = 650;
-class TransactionItem;
-
TransactionItemView::TransactionItemView(QWidget *parent, const char *name)
: QScrollArea(parent)
{
@@ -197,7 +195,7 @@ TransactionItem::TransactionItem(QWidget *parent, ProgressItem *item, bool first
}
}
-TransactionItem::~TransactionItem()
+KPIM::TransactionItem::~TransactionItem()
{
}
@@ -432,4 +430,3 @@ void ProgressDialog::slotToggleVisibility()
setVisible(isHidden());
}
}
-}