Commit 98ca7496 authored by David Faure's avatar David Faure
Browse files

Support for splitting the view with DBus

svn path=/trunk/KDE/kdebase/konqueror/; revision=609028
parent 34249d37
......@@ -78,4 +78,15 @@ QDBusObjectPath KonqMainWindowAdaptor::currentPart()
return QDBusObjectPath( view->partObjectPath() );
}
void KonqMainWindowAdaptor::splitViewHorizontally()
{
m_pMainWindow->slotSplitViewHorizontal();
}
void KonqMainWindowAdaptor::splitViewVertically()
{
m_pMainWindow->slotSplitViewVertical();
}
#include "KonqMainWindowAdaptor.moc"
......@@ -59,6 +59,9 @@ public slots:
void newTabASN( const QString& url, const QByteArray& startup_id, bool tempFile );
void splitViewHorizontally();
void splitViewVertically();
/**
* Reloads the current view.
*/
......
......@@ -421,6 +421,8 @@ public Q_SLOTS:
void slotGoHistoryActivated( int steps, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers );
void slotAddTab();
void slotSplitViewHorizontal();
void slotSplitViewVertical();
protected Q_SLOTS:
void slotViewCompleted( KonqView * view );
......@@ -430,8 +432,6 @@ protected Q_SLOTS:
void slotFileNewAboutToShow();
void slotLocationLabelActivated();
void slotSplitViewHorizontal();
void slotSplitViewVertical();
void slotDuplicateTab();
void slotDuplicateTabPopup();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment