author | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
commit | a08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (side-by-side diff) | |
tree | 8ee90d686081c52e7c69b5ce946e9b1a7d690001 /kaddressbook/details/look_details.h | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2 |
initial public commit of qt4 portp1
Diffstat (limited to 'kaddressbook/details/look_details.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kaddressbook/details/look_details.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kaddressbook/details/look_details.h b/kaddressbook/details/look_details.h index e8d50a9..b59d3a7 100644 --- a/kaddressbook/details/look_details.h +++ b/kaddressbook/details/look_details.h @@ -69,89 +69,89 @@ class KABDetailedView : public KABBasicLook */ virtual ~KABDetailedView(); /** Set the addressee. */ void setAddressee( const KABC::Addressee& ); /** Overloaded from KABBasicLook. */ void setReadOnly( bool ); /** Overloaded from KABBasicLook. */ void restoreSettings( KConfig* ); public slots: void slotBorderedBGSelected( int index ); void slotTiledBGSelected( int index ); protected: void paintEvent( QPaintEvent* ); void mousePressEvent( QMouseEvent* ); void mouseMoveEvent( QMouseEvent* ); /** A method to retrieve a background image according to the path stored in the entry. It is either loaded from backgrounds, that acts as a cache, or from the file and added to @see backgrounds. */ bool getBackground( QString path, QPixmap& image ); private: QPtrList<QRect> mURLRects; QPtrList<QRect> mEmailRects; QPtrList<QRect> mPhoneRects; KABEntryPainter *mPainter; QMap<QString, QPixmap> mBackgroundMap; QPixmap mCurrentBackground; BackgroundStyle mBackgroundStyle; bool mUseDefaultBGImage; bool mUseHeadLineBGColor; QColor mDefaultBGColor; QColor mHeadLineBGColor; QColor mHeadLineTextColor; QPixmap mDefaultBGImage; KToggleAction *mActionShowAddresses; KToggleAction *mActionShowEmails; KToggleAction *mActionShowPhones; KToggleAction *mActionShowURLs; const int mGrid; QStringList mBorders; QStringList mTiles; - QPopupMenu *mMenuBorderedBG; - QPopupMenu *mMenuTiledBG; + Q3PopupMenu *mMenuBorderedBG; + Q3PopupMenu *mMenuTiledBG; static const QString mBorderedBGDir; static const QString mTiledBGDir; }; class KABDetailedViewFactory : public KABLookFactory { public: KABDetailedViewFactory( QWidget *parent = 0, const char *name = 0 ) : KABLookFactory( parent, name ) {} KABBasicLook *create() { return new KABDetailedView( mParent, mName ); } QString description() { return i18n( "Detailed Style: Display all details, no modifications." ); } }; #endif |