Ignore:
Timestamp:
May 3, 2016, 5:25:45 PM (9 years ago)
Author:
Silvan Scherrer
Message:

smplayer: update trunk to version 16.4

Location:
smplayer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • smplayer/trunk

  • smplayer/trunk/src/shortcutgetter.h

    r165 r176  
    11/*  smplayer, GUI front-end for mplayer.
    2     Copyright (C) 2006-2014 Ricardo Villalba <rvm@users.sourceforge.net>
     2    Copyright (C) 2006-2016 Ricardo Villalba <rvm@users.sourceforge.net>
    33
    44    This program is free software; you can redistribute it and/or modify
     
    1515    along with this program; if not, write to the Free Software
    1616    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    17 */
    1817
    19 /*
    2018    Note: The ShortcutGetter class is taken from the source code of Edyuk
    21     (http://www.edyuk.org)
     19    (http://www.edyuk.org/), from file 3rdparty/qcumber/qshortcutdialog.cpp
    2220
    2321    Copyright (C) 2006 FullMetalCoder
    2422    License: GPL
     23
     24    I modified it to support multiple shortcuts and some other few changes.
    2525*/
    2626
    2727
    28 #ifndef _SHORTCUTGETTER_H_
    29 #define _SHORTCUTGETTER_H_
     28#ifndef SHORTCUTGETTER_H
     29#define SHORTCUTGETTER_H
    3030
    3131#include <QDialog>
     32#include <QListWidget>
    3233
    3334class QLineEdit;
     
    4445protected slots:
    4546        void setCaptureKeyboard(bool b);
     47        void rowChanged(int row);
     48        void textChanged(const QString & text);
     49
     50        void addItemClicked();
     51        void removeItemClicked();
    4652
    4753protected:
     
    5763        QStringList lKeys;
    5864        bool capture;
     65
     66        QListWidget * list;
     67        QPushButton * addItem;
     68        QPushButton * removeItem;
    5969};
    6070
Note: See TracChangeset for help on using the changeset viewer.