/** @see QWidget::sizeHint() */
virtual QSize sizeHint() const;
-signals:
+Q_SIGNALS:
/**
* Is send when a bookmark has been activated by the user.
* @param url URL of the selected place.
*/
virtual void paintEvent(QPaintEvent* event);
-private slots:
+private Q_SLOTS:
/**
* Updates the selected index and the icon to the bookmark
* which is indicated by the triggered action \a action.
{
Q_OBJECT
- public:
- explicit KProtocolCombo(const QString& protocol, KUrlNavigator* parent = 0);
+public:
+ explicit KProtocolCombo(const QString& protocol, KUrlNavigator* parent = 0);
- QString currentProtocol() const;
+ QString currentProtocol() const;
- public slots:
- void setProtocol(const QString& protocol);
- void setProtocol(int index);
+public Q_SLOTS:
+ void setProtocol(const QString& protocol);
+ void setProtocol(int index);
- signals:
- void activated(const QString& protocol);
+Q_SIGNALS:
+ void activated(const QString& protocol);
- private:
- QStringList m_protocols;
+private:
+ QStringList m_protocols;
};
#endif
void dropUrls(const KUrl::List& urls,
const KUrl& destination);
-public slots:
+public Q_SLOTS:
/**
* Sets the current active URL.
* The signals UrlNavigator::urlChanged and UrlNavigator::historyChanged
*/
void storeContentsPosition(int x, int y);
-signals:
+Q_SIGNALS:
/**
* Is emitted, if the URL navigator has been activated by
* a user interaction.
virtual void dragEnterEvent(QDragEnterEvent* event);
virtual void dragLeaveEvent(QDragLeaveEvent* event);
-private slots:
+private Q_SLOTS:
void updateNavigatorUrl();
void startPopupDelay();
void stopPopupDelay();