Changeset 6078

Show
Ignore:
Timestamp:
03/02/08 23:12:42 (9 months ago)
Author:
flynd
Message:

Removed some compile warnings about hidden virtual functions and unused function.

Location:
trunk/qt4-gui/src
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/qt4-gui/src/config/skin.h

    r6007 r6078  
    8484  virtual ~ButtonSkin() { } 
    8585  virtual void loadSkin(CIniFile& skinFile, QString name, QString baseSkinDir); 
     86 
     87private: 
     88  using ShapeSkin::loadSkin; 
    8689}; 
    8790 
     
    9699  virtual ~LabelSkin() { } 
    97100  virtual void loadSkin(CIniFile& skinFile, QString name, QString baseSkinDir); 
     101 
     102private: 
     103  using ShapeSkin::loadSkin; 
    98104}; 
    99105 
  • trunk/qt4-gui/src/contactlist/sortedcontactlistproxy.h

    r5837 r6078  
    6464  void sort(int column = 0, int role = Qt::DisplayRole, Qt::SortOrder order = Qt::AscendingOrder); 
    6565 
     66  /** 
     67   * Same sort as above but with same parameters as base class so we overload 
     68   * it. Also this sort() has no default values to sovle problems when calls 
     69   * to sort() would be ambiguous with base sort() accessable. 
     70   * 
     71   * @param column Column to sort on 
     72   * @param order Order to sort 
     73   */ 
     74  virtual void sort(int column, Qt::SortOrder order) 
     75  { sort(column, Qt::DisplayRole, order); } 
     76 
    6677private: 
    6778  /** 
  • trunk/qt4-gui/src/widgets/mledit.cpp

    r6064 r6078  
    260260} 
    261261 
     262#if 0 
     263//TODO: This may or may not be needed for KTextEdit in KDE 4 
     264 
    262265#ifdef MLEDIT_USE_KTEXTEDIT 
    263266/** 
     
    277280#endif 
    278281 
    279 #if 0 
    280 //TODO: This may or may not be needed for KTextEdit in KDE 4 
    281282/* 
    282283 * KTextEdit adds a menu entry for doing spell checking. Unfortunatly KSpell