aboutsummaryrefslogtreecommitdiff
path: root/src/ui/jumptotrackdialog.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2008-11-16 11:08:03 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2008-11-16 11:08:03 +0000
commit8b77cec8a9bf8290291afcd9ee41cc87d5a18290 (patch)
treee1b4bcd5ac20e2ab2838a135768929a2cdbec1c8 /src/ui/jumptotrackdialog.h
parenta987be598bb55320fb544807313b35a60ca67c74 (diff)
downloadqmmp-8b77cec8a9bf8290291afcd9ee41cc87d5a18290.tar.gz
qmmp-8b77cec8a9bf8290291afcd9ee41cc87d5a18290.tar.bz2
qmmp-8b77cec8a9bf8290291afcd9ee41cc87d5a18290.zip
added enter hotkey support in the jump dialog
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@619 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/ui/jumptotrackdialog.h')
-rw-r--r--src/ui/jumptotrackdialog.h35
1 files changed, 18 insertions, 17 deletions
diff --git a/src/ui/jumptotrackdialog.h b/src/ui/jumptotrackdialog.h
index cfe629693..fb4cf301e 100644
--- a/src/ui/jumptotrackdialog.h
+++ b/src/ui/jumptotrackdialog.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2006 by Ilya Kotov *
+ * Copyright (C) 2007-2008 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -35,27 +35,28 @@ class QSortFilterProxyModel;
class JumpToTrackDialog : public QDialog, private Ui::JumpToTrackDialog
{
- Q_OBJECT
+ Q_OBJECT
public:
- JumpToTrackDialog(QWidget* parent = 0, Qt::WFlags fl = 0 );
- ~JumpToTrackDialog();
- void setModel(PlayListModel* model);
- void refresh();
+ JumpToTrackDialog(QWidget* parent = 0, Qt::WFlags fl = 0 );
+ ~JumpToTrackDialog();
+ void setModel(PlayListModel* model);
+ void refresh();
protected slots:
- void on_closePushButton_clicked();
- void on_refreshPushButton_clicked();
- void on_queuePushButton_clicked();
- void on_jumpToPushButton_clicked();
- void on_filterLineEdit_textChanged(const QString&);
- void jumpTo(const QModelIndex&);
- void queueUnqueue(const QModelIndex&,const QModelIndex&);
+ void on_closePushButton_clicked();
+ void on_refreshPushButton_clicked();
+ void on_queuePushButton_clicked();
+ void on_jumpToPushButton_clicked();
+ void on_filterLineEdit_textChanged(const QString&);
+ void on_filterLineEdit_returnPressed ();
+ void jumpTo(const QModelIndex&);
+ void queueUnqueue(const QModelIndex&,const QModelIndex&);
signals:
- void playRequest();
+ void playRequest();
private:
- PlayListModel* m_playListModel;
- QStringListModel* m_listModel;
- QSortFilterProxyModel* m_proxyModel;
+ PlayListModel* m_playListModel;
+ QStringListModel* m_listModel;
+ QSortFilterProxyModel* m_proxyModel;
};
#endif