diff options
| author | Zack Rusin <[email protected]> | 2006-12-04 05:46:34 +0000 |
|---|---|---|
| committer | Zack Rusin <[email protected]> | 2006-12-04 05:46:34 +0000 |
| commit | 01f577fda1b2ee522a0e87edab7c079c8b553860 (patch) | |
| tree | 20329ceebb09383781c25ed830061b7dead90f87 /src/dolphinview.cpp | |
| parent | c94276725b1452d9f899dec192a8e66ecb9a516d (diff) | |
reducing a little bit the number of deprecation warnings
svn path=/trunk/playground/utils/dolphin/; revision=610300
Diffstat (limited to 'src/dolphinview.cpp')
| -rw-r--r-- | src/dolphinview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index 6a9a68ddf..bc4d9144d 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -29,7 +29,7 @@ #include <Q3ValueList> #include <QDropEvent> #include <QMouseEvent> -#include <Q3VBoxLayout> +#include <QVBoxLayout> #include <kurl.h> #include <klocale.h> #include <kio/netaccess.h> @@ -68,7 +68,7 @@ DolphinView::DolphinView(DolphinMainWindow *mainWindow, m_filterBar(0) { setFocusPolicy(Qt::StrongFocus); - m_topLayout = new Q3VBoxLayout(this); + m_topLayout = new QVBoxLayout(this); connect(this, SIGNAL(signalModeChanged()), mainWindow, SLOT(slotViewModeChanged())); @@ -242,7 +242,7 @@ void DolphinView::renameSelectedItems() urlsCount); // iterate through all selected items and rename them... - const int replaceIndex = newName.find('#'); + const int replaceIndex = newName.indexOf('#'); assert(replaceIndex >= 0); for (int i = 0; i < urlsCount; ++i) { const KUrl& source = urls[i]; |
