playlistselection.h

来自「Amarok是一款在LINUX或其他类UNIX操作系统中运行的音频播放器软件。 」· C头文件 代码 · 共 60 行

H
60
字号
/*************************************************************************** *   Copyright (C) 2005 Ian Monroe <ian@monroe.nu>                         * *                                                                         * *   This program is free software; you can redistribute it and/or modify  * *   it under the terms of the GNU General Public License as published by  * *   the Free Software Foundation; either version 2 of the License, or     * *   (at your option) any later version.                                   * *                                                                         * ***************************************************************************/#ifndef PLAYLISTSELECTION_H#define PLAYLISTSELECTION_H#include <klistview.h>class NewDynamic;class KDialogBase;class DynamicMode;//this is a widget used in newdynamic.uiclass PlaylistSelection : public KListView{        Q_OBJECT    public:        PlaylistSelection(QWidget* parent, const char* name);        virtual QSize sizeHint() const        {            return minimumSizeHint();        }    private:        void loadChildren(QListViewItem* browserParent, QListViewItem* selectionParent);};namespace ConfigDynamic{    void addDynamic( NewDynamic* dialog );    void dynamicDialog( QWidget* parent );    void editDynamicPlaylist( QWidget* parent, DynamicMode* mode );    void loadDynamicMode( DynamicMode* saveMe, NewDynamic* dialog );    KDialogBase* basicDialog( QWidget* parent );}class SelectionListItem : public QCheckListItem{    public:        SelectionListItem( QListViewItem  * parent, const QString& text, QListViewItem* browserEquivalent );        SelectionListItem( QCheckListItem * parent, const QString& text, QListViewItem* browserEquivalent );        virtual QString name() const;    protected:        virtual void stateChange( bool );    private:        QListViewItem* m_browserEquivalent;};#endif /*PLAYLISTSELECTION_H*/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?