dirhistorybutton.h

来自「LINUX 下, 以 QT/KDE 写的档案管理员」· C头文件 代码 · 共 57 行

H
57
字号
/***************************************************************************                          dirhistorybutton.h  -  description                             -------------------    begin                : Sun Jan 4 2004    copyright            : (C) 2004 by Shie Erlich & Rafi Yanai    email                :  ***************************************************************************//*************************************************************************** *                                                                         * *   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 DIRHISTORYBUTTON_H#define DIRHISTORYBUTTON_H#include <qwidget.h>#include <qtoolbutton.h>#include <kurl.h>class QPopupMenu;class DirHistoryQueue;/**  *@author Shie Erlich & Rafi Yanai  */class DirHistoryButton : public QToolButton  {   Q_OBJECTpublic:   DirHistoryButton(DirHistoryQueue* hQ, QWidget *parent=0, const char *name=0);  ~DirHistoryButton();  void openPopup();private:  QPopupMenu* popupMenu;  DirHistoryQueue* historyQueue;  public slots: // Public slots  /** No descriptions */  void slotPopup();  /** No descriptions */  void slotAboutToShow();  /** No descriptions */  void slotPopupActivated(int id);signals: // Signals  /** No descriptions */  void openUrl(const KURL&);};#endif

⌨️ 快捷键说明

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