~ubuntu-branches/ubuntu/precise/kde-baseapps/precise

« back to all changes in this revision

Viewing changes to dolphin/src/views/dolphinview.h

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2011-12-24 14:47:46 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20111224144746-nuwekw9lct7mvd63
Tags: 4:4.7.95-0ubuntu1
New upstream release candidate

Show diffs side-by-side

added added

removed removed

Lines of Context:
647
647
    void slotRefreshItems();
648
648
 
649
649
    /**
 
650
     * Is invoked when the sort order has been changed by the user by clicking
 
651
     * on a header item. The view properties of the directory will get updated.
 
652
     */
 
653
    void slotSortOrderChangedByHeader(Qt::SortOrder current, Qt::SortOrder previous);
 
654
 
 
655
    /**
 
656
     * Is invoked when the sort role has been changed by the user by clicking
 
657
     * on a header item. The view properties of the directory will get updated.
 
658
     */
 
659
    void slotSortRoleChangedByHeader(const QByteArray& current, const QByteArray& previous);
 
660
 
 
661
    /**
650
662
     * Observes the item with the URL \a url. As soon as the directory
651
663
     * model indicates that the item is available, the item will
652
664
     * get selected and it is assured that the item stays visible.
673
685
     */
674
686
    void updateViewState();
675
687
 
 
688
    void hideToolTip();
 
689
 
676
690
    //void slotUrlChangeRequested(const KUrl& url);
677
691
 
678
692
private:
695
709
    void pasteToUrl(const KUrl& url);
696
710
 
697
711
    /**
698
 
     * Checks whether the current item view has the same zoom level
699
 
     * as \a oldZoomLevel. If this is not the case, the zoom level
700
 
     * of the controller is updated and a zoomLevelChanged() signal
701
 
     * is emitted.
702
 
     */
703
 
    void updateZoomLevel(int oldZoomLevel);
704
 
 
705
 
    /**
706
712
     * Returns a list of URLs for all selected items. The list is
707
713
     * simplified, so that when the URLs are part of different tree
708
714
     * levels, only the parent is returned.
757
763
 
758
764
    QTimer* m_selectionChangedTimer;
759
765
 
760
 
    KUrl m_currentItemUrl;
 
766
    KUrl m_currentItemUrl; // Used for making the view to remember the current URL after F5
761
767
    QPoint m_restoredContentsPosition;
762
768
    KUrl m_createdItemUrl; // URL for a new item that got created by the "Create New..." menu
763
 
    QList<KUrl> m_selectedUrls; // this is used for making the View to remember selections after F5
 
769
 
 
770
    QList<KUrl> m_selectedUrls; // Used for making the view to remember selections after F5
764
771
    
765
772
    VersionControlObserver* m_versionControlObserver;
766
773