]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/bookmarkssettingspage.h
Dolphin is now a KUniqueApplication. A lot of thanks go to Oscar Blumberg, who submit...
[dolphin.git] / src / bookmarkssettingspage.h
index 8636ad7e817515450afa2efd7ee578eaaa750ee4..becf67654e426525d74ca5d48aa9996c3770d0c9 100644 (file)
@@ -15,7 +15,7 @@
  *   You should have received a copy of the GNU General Public License     *
  *   along with this program; if not, write to the                         *
  *   Free Software Foundation, Inc.,                                       *
- *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
+ *   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA            *
  ***************************************************************************/
 
 #ifndef BOOKMARKSSETTINGSPAGE_H
@@ -24,7 +24,8 @@
 #include <settingspagebase.h>
 #include <q3valuelist.h>
 
-class KListView;
+class DolphinMainWindow;
+class K3ListView;
 class KPushButton;
 class Q3ListViewItem;
 
@@ -37,7 +38,7 @@ class BookmarksSettingsPage : public SettingsPageBase
     Q_OBJECT
 
 public:
-    BookmarksSettingsPage(QWidget* parent);
+    explicit BookmarksSettingsPage(DolphinMainWindow* mainWindow, QWidget* parent);
 
     virtual ~BookmarksSettingsPage();
 
@@ -66,11 +67,12 @@ private:
     enum ColumnIndex {
         PixmapIdx = 0,
         NameIdx   = 1,
-        URLIdx    = 2,
+        UrlIdx    = 2,
         IconIdx   = 3
     };
 
-    KListView* m_listView;
+    DolphinMainWindow* m_mainWindow;
+    K3ListView* m_listView;
     KPushButton* m_addButton;
     KPushButton* m_editButton;
     KPushButton* m_removeButton;